+1 vote
in Linux by
Explain file content commands along with the description.

1 Answer

0 votes
by

There are many commands present in Linux which are used to look at the contents of the file.

Below are few of file content commands along with the description in Linux

  1. head: to check the starting of a file.
  2. tail: to check the ending of the file. It is the reverse of head command.
  3. cat: used to view, create, concatenate the files.
  4. rrep: used to find the specific pattern or string in a file.
  5. more: used to display the text in the terminal window in pager form.
  6. less: used to view the text in the backward direction and also provides single line movement.

Related questions

0 votes
asked Jan 7, 2020 in Linux by MBarbieri
...