3 tail \- print the last few lines of a file
5 \fBtail\fR [\fB\-c \fIn\fR] [\fB\-f] [\fB\-n \fIn\fR] [\fIfile\fR] ...\fR
18 .FL "\-c" "The count refers to characters"
19 .FL "\-f" "On FIFO or special file, keep reading after EOF"
20 .FL "\-n" "The count refers to lines"
22 .EX "tail \-n 6" "Print last 6 lines of \fIstdin\fR"
23 .EX "tail \-c 20 file" "Print the last 20 characters of \fIfile\fR"
24 .EX "tail \-n 1 file1 file2" "Print last line of two files"
25 .EX "tail \-n +8 file" "Print the tail starting with line 8"
28 The last few lines of one or more files are printed.
29 The default count is 10 lines.
30 The default file is \fIstdin\fR.
31 If the value of \fIn\fR for the \fB\-c\fR or \fB\-n\fR flags starts with
32 a + sign, counting starts at the beginning, rather than the end of the file.