man(1) Manual page archive


     TAIL(1)                                                   TAIL(1)

     NAME
          tail - deliver the last part of a file

     SYNOPSIS
          tail [ ±number[lbc][fr] ] [ file ]

     DESCRIPTION
          Tail copies the named file to the standard output beginning
          at a designated place.  If no file is named, the standard
          input is used.

          Copying begins at distance +number from the beginning, or
          -number from the end of the input.  Number is counted in
          units of lines, 1K blocks or characters, according to the
          appended option l, b or c. When no units are specified,
          counting is by lines.

          Option r causes tail to print lines from the end of the file
          in reverse order.  Option f (follow) causes tail not to stop
          at the end, and to watch for further data to appear.

     SEE ALSO
          dd(1)

     BUGS
          Tails relative to the end of the file are treasured up in a
          buffer, and thus are limited in length.
          Various kinds of anomalous behavior may happen with charac-
          ter special files.