<tt>tail</tt>: Tail End



next up previous contents
Next: wc: Word Count Up: File system Commands: Previous: head: Header

tail: Tail End

As head is used to display the heading of a file, tail is used to display the end of a file.

tail [+|- n [lbc]] filename

NOTE: only one filename may be used at once.

If + is used, the display starts n lines, characters, or units of blocks (depending which of l, n, or b is used) after the beginning of the file.

If - is used, the display starts at n lines, characters, or units of blocks from the end of the file.

The default is for tail to show the last ten lines of the file.



Super-User
Fri Feb 17 15:55:40 EST 1995