head (first 10 lines of file output Ubuntu Linux command tutorials)

 

  • head is used to print the first 10 lines in a file like its standard output

  • Contents of 1.txt

 

  • The following snapshot shows the output of head command.


border