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
20 # The count refers to characters
23 # On FIFO or special file, keep reading after EOF
26 # The count refers to lines
30 # Print last 6 lines of \fIstdin\fR
33 # Print the last 20 characters of \fIfile\fR
35 .B tail \-n 1 file1 file2
36 # Print last line of two files
39 # Print the tail starting with line 8
42 The last few lines of one or more files are printed.
43 The default count is 10 lines.
44 The default file is \fIstdin\fR.
45 If the value of \fIn\fR for the \fB\-c\fR or \fB\-n\fR flags starts with
46 a + sign, counting starts at the beginning, rather than the end of the file.