5 tools for printing files to the terminal #shorts

The 5 must know tools for displaying file contents on the terminal:

Cat - it’s generally used to concatenate files together, and it spits out the contents on standard output
More - is a filter for paging through text one screenful at a time
Less - it’s used for viewing files instead of opening them. It’s like more, but allows for moving backward too. Less is just a little better than more.
Head is used to print the first N lines of a file, it accepts N as input and has a default of 10
Tail. It’s used to print the bottom N lines of a file, it also accepts n as input and has a default of 10

Subscribe for more terminal tips!