head - give first few lines
head [ -count ] [ file ...]
head [ -n count ] [ file ...]
This filter gives the first count lines of each of the specified files,
or of the standard input. If count is omitted it defaults to 10.
head -6 filea fileb filec
will print out the first six lines of the three specified files. The
filename will appear before each new set of head lines listed, if more
than one file has been specified.
X/Open CAE Specification(1994)--Commands and Utilities.
PPPPaaaaggggeeee 1111 [ Back ]