The Unix `head` command displays the leading lines of a file.
head
is a unix command which displays the first lines of a file. It's counterpart which displays the last lines is tail
(tail).
Example: head -n 10 file
will output first 10 lines of file
.