sbase/tail.1

27 lines
452 B
Groff
Raw Normal View History

.Dd January 30, 2015
.Dt TAIL 1
.Os sbase
.Sh NAME
.Nm tail
.Nd display final lines of files
.Sh SYNOPSIS
.Nm
.Op Fl n Ar lines
.Op Ar file
.Sh DESCRIPTION
.Nm
writes the last 10 lines of the file to stdout. If no
.Ar file
is given,
.Nm
reads from stdin.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl n Ar lines
outputs the given number of lines. If
.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
.Sh SEE ALSO
.Xr head 1