Linux Command Line (07) Viewing Files (cat, more, less, head, tail)

Publicado em: 04 Janeiro 2020
no canal de: MichaelsTechTutorials
15,470
285

There is a file with this video that can be download (for free) from https://thefrugalcomputerguy.com/linu...

The first thing we do, is to look at how to cat out a file by typing cat and the file name.

cat means to join together so we can cat out multiple files at the same time. Adding the -n option will add line numbers to the files outputted from the cat command.

We also look at the "more" and "less"commands to see how to view files a page at a time and see why less it is better to use "less" over "more"

When we want to see the first lines at the top of a file we will use "head" command

When we want to see the last few lines of a file, we can type the "tail" command

We can follow the file file updates by using "tail -f" to see the last lines of a file, while the file is being updated. This can be handy when tailing a log file.'

See the complete LCL playlist at:    • Linux Command Line  (01) What Is The ...  

Website link:
https://thefrugalcomputerguy.com/linu...


Nesta página do site você pode assistir ao vídeo on-line Linux Command Line (07) Viewing Files (cat, more, less, head, tail) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário MichaelsTechTutorials 04 Janeiro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 15,470 vezes e gostou 285 espectadores. Boa visualização!