HEAD(1) BSD Reference Manual HEAD(1)
h
\bhe
\bea
\bad
\bd - display first lines of a file
S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
h
\bhe
\bea
\bad
\bd [-
\b-n
\bn _
\bc_
\bo_
\bu_
\bn_
\bt] [_
\bf_
\bi_
\bl_
\be _
\b._
\b._
\b.]
D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
This filter displays the first _
\bc_
\bo_
\bu_
\bn_
\bt lines of each of the specified
files, or of the standard input if no files are specified. If _
\bc_
\bo_
\bu_
\bn_
\bt is
omitted it defaults to 10.
If more than a single file is specified, each file is preceded by a head-
er consisting of the string ``==> XXX <=='' where ``XXX'' is the name of
The h
\bhe
\bea
\bad
\bd utility exits 0 on success, and >0 if an error occurs.
S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
H
\bHI
\bIS
\bST
\bTO
\bOR
\bRY
\bY
The h
\bhe
\bea
\bad
\bd command appeared in 3.0BSD.
3rd Berkeley Distribution June 6, 1993 1