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