head(1) — Commands
OSF
NAME
head − Displays the beginning of files
SYNOPSIS
head [-count] [file ...]
The head command prints the first count lines of each of the specified files to standard output.
FLAGS
-countSpecifies the number of lines to display. The default count is 10.
DESCRIPTION
If you do not specify a file, head reads standard input.
EXAMPLES
To display the first 5 lines of a file called test, enter:
head -5 test