PROPHET/OS

NAME

head: writes the first lines from in, ten of them without a count

SYNOPSIS

head [-n <count>]

DESCRIPTION

Writes the first lines from in, ten of them without a count.

It reads only as far as it writes: a head -n 5 over a long stream stops after five lines instead of reading the rest and throwing it away.

EXAMPLE

$ cat /system/config/shell.conf | head -n 5
# ProphetOS, the settings of the shell.
#
# Three steps, and the user's own file wins:
#
#   <home>/.shell.conf          the user's own, if it is there

SEE ALSO

tail, more, cat, grep