Amiga Unix — 68040 · 68060

Manual pages › General commands (1)

head-original(1)

display first few lines of files

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

With the coreutil package (with the extra set), see head(1) instead.

NAME

head - display first few lines of files

SYNOPSIS

head [ -n ] [ file...]

DESCRIPTION

head copies the first n lines of each file to the standard output. If no file is given, head copies lines from the standard input. The default value of n is 10 lines. When more than one file is specified, the start of each file will look like:

==>file<== Thus, a common way to display a set of short
files, identifying each one, is:
head -9999 file1 file2 ...

SEE ALSO

cat(1), more(1), pg(1), tail(1)