2015-01-30 15:17:58 -05:00
|
|
|
.Dd January 30, 2015
|
2015-01-31 08:20:02 -05:00
|
|
|
.Dt TAIL 1
|
2015-01-31 14:37:03 -05:00
|
|
|
.Os sbase
|
2015-01-30 15:17:58 -05:00
|
|
|
.Sh NAME
|
|
|
|
.Nm tail
|
|
|
|
.Nd display final lines of files
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Op Fl n Ar lines
|
|
|
|
.Op Ar file
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2015-01-31 08:43:27 -05:00
|
|
|
writes the last 10 lines of the file to stdout. If no
|
|
|
|
.Ar file
|
|
|
|
is given,
|
|
|
|
.Nm
|
|
|
|
reads from stdin.
|
2015-01-30 15:17:58 -05:00
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl n Ar lines
|
2015-02-01 14:52:28 -05:00
|
|
|
Outputs the given number of lines. If
|
2015-01-30 15:17:58 -05:00
|
|
|
.Ar lines
|
2011-05-26 13:18:42 -04:00
|
|
|
begins with '+' it is used as an offset from the beginning of the file.
|
2015-01-30 15:49:32 -05:00
|
|
|
.El
|
2015-01-30 15:17:58 -05:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr head 1
|