May 2000
Beginner
761 pages
18h 20m
English
tail [-c [+]N[bkm]] [-n [+]N] [--bytes=[+]N[bkm]] [--lines=[+]N] [--follow] [--quiet] [--silent] [--verbose] [--help] [--version] [file…]]
When a plus sign precedes the number, tail displays blocks, characters, or lines counting from the beginning of the file. If a hyphen precedes the number, tail counts from the end of the file. Unlike the UNIX version, which uses a fixed size buffer, the Gnu version can output any amount of data.
1 tail +50 filex 2 tail -20 filex 3 tail filex |
Explanation
Displays contents of filex starting at line 50.
Displays the last 20 lines of filex.
Displays the last 10 lines of filex.
Read now
Unlock full access