Linux File Contents Command

There are many commands which help to look at the contents of a file. Now we'll look at some of the commands like head, tac, cat, less & more and strings.

We'll discuss about the following file contents given in the table:

CommandsFunction
headIt displays the beginning of a file.
tailIt displays the last last part of a file.
catThis command is versatile and multi worker.
tacOpposite of cat.
moreCommand line diaplays contents in pager form that is either in more format.
lessCommand line diaplays contents in pager form that is either in less format.





Latest Courses