head

From RaySoft

head prints the first part (10 lines by default) of each file; it reads from standard input if no files are given or when given a file of -.[1]

Documentation

Syntax

head [PARAMETER ...] [FILE ...]

Parameters

-n [-]NUMBER, --lines=[-]NUMBER
Output the first NUMBER lines. However, if NUMBER is prefixed with a -, print all but the last NUMBER lines of each file.

References