head [Command]

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

Your email address will not be published. Required fields are marked *