PROPHET/OS

NAME

tail: writes the last lines from in, or of a file, ten of them without a count

SYNOPSIS

tail [-n <count>] [<file>]

DESCRIPTION

Writes the last lines from in, or of a file, ten of them without a count. A file is read from its end, so its size does not matter.

From in, at most 64, and it says so when more were asked for. The last lines of a stream can only be known at the end, so they are kept in a ring while the stream runs, and the ring holds 64.

EXAMPLE

$ tail --help
tail [-n <count>] [<file>]
  writes the last lines of a file, or from in, ten without a count
  from in at most 64, that is what the ring holds

SEE ALSO

head, more, cat, log