Javatpoint Logo
Javatpoint Logo

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.

Next TopicOpen File in Linux





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA