Name
tail [options
] [files
] — coreutils
Synopsis
/usr/bin
stdin stdout - file -- opt --help --version
The tail
command prints the last 10 lines of a file, and does other tricks as well.
$ tail myfile
Useful options | |
| Print the last |
| |
| Print all lines except the first |
| Print the last |
| Keep the file open, and whenever lines are appended to the file, print them. This is extremely useful. Add the |
| Quiet mode: when processing more than one file, don’t print a banner above each file. Normally |
Get Linux Pocket Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.