2011-05-26 17:18:42 +00:00
|
|
|
.TH TAIL 1 sbase\-VERSION
|
|
|
|
.SH NAME
|
2015-01-25 21:03:50 +00:00
|
|
|
tail \- display final lines of files
|
2011-05-26 17:18:42 +00:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B tail
|
|
|
|
.RB [ \-n
|
|
|
|
.IR lines ]
|
|
|
|
.RI [ file ]
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.B tail
|
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.
|
2011-05-26 17:18:42 +00:00
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
.BI \-n " lines"
|
|
|
|
outputs the given number of lines. If
|
|
|
|
.I lines
|
|
|
|
begins with '+' it is used as an offset from the beginning of the file.
|
|
|
|
.SH SEE ALSO
|
|
|
|
.IR head (1)
|