2015-02-09 16:26:17 +01:00
|
|
|
.Dd February 9, 2015
|
2015-01-31 14:20:02 +01:00
|
|
|
.Dt TAIL 1
|
2015-01-31 19:37:03 +00:00
|
|
|
.Os sbase
|
2015-01-30 21:17:58 +01:00
|
|
|
.Sh NAME
|
|
|
|
.Nm tail
|
|
|
|
.Nd display final lines of files
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2015-02-09 16:26:17 +01:00
|
|
|
.Op Fl f
|
|
|
|
.Op Fl n Ar num
|
|
|
|
.Op Ar file ...
|
2015-01-30 21:17:58 +01:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2015-02-09 16:26:17 +01:00
|
|
|
writes the last 10 lines of each
|
|
|
|
.Ar file
|
|
|
|
to stdout. If no
|
2015-01-31 14:43:27 +01:00
|
|
|
.Ar file
|
|
|
|
is given,
|
|
|
|
.Nm
|
|
|
|
reads from stdin.
|
2015-01-30 21:17:58 +01:00
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
2015-02-09 16:26:17 +01:00
|
|
|
.It Fl f
|
|
|
|
If one
|
|
|
|
.Ar file
|
|
|
|
is specified, append lines to output as
|
|
|
|
.Ar file
|
|
|
|
grows.
|
2015-01-30 21:17:58 +01:00
|
|
|
.It Fl n Ar lines
|
2015-02-09 16:26:17 +01:00
|
|
|
Display
|
|
|
|
.Ar num
|
|
|
|
lines. If
|
|
|
|
.Ar num
|
|
|
|
begins with '+' it is used as an offset from the beginning of each
|
|
|
|
.Ar file .
|
2015-01-30 21:49:32 +01:00
|
|
|
.El
|
2015-01-30 21:17:58 +01:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr head 1
|