head [Command]

head [Command]



Command head

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

Syntax

head [options] file

Options

-n nline number of displayed rows.

Description

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 *