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

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