head [Command]

Command head

head – command displays the first few lines of a file to standard output.


head [options] file


-n nline number of displayed rows.


Displays the first line of the file file. The default number of rows is equal 10. Number of output lines can be specified with option -n.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.