head
: Output the first part of files
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 `-'. Synopses:
head [option]... [file]... head -number [option]... [file]...
If more than one file is specified, head
prints a
one-line header consisting of
==> file name <==
before the output for each file.
head
accepts two option formats: the new one, in which numbers
are arguments to the options (`-q -n 1'), and the old one, in which
the number precedes any option letters (`-1q').
The program accepts the following options. Also see section Common options.
-c
, or `l' to mean count by lines,
or other option letters (`cqv').
Go to the first, previous, next, last section, table of contents.