sbase/tail.1

21 lines
422 B
Groff
Raw Normal View History

2011-05-26 17:18:42 +00:00
.TH TAIL 1 sbase\-VERSION
.SH NAME
tail \- output last part of a file
.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)