Print the last 10 lines of each named file on standard output. Print from standard input with no filename or with -. If more than one file is specified, the output includes a header at the beginning of each file:
For options that take the number of bytes or lines as an argument, you can prepend a plus sign (+) to num to begin printing with the numth item. These options can also specify a block size:
Print the last num bytes.
Don’t quit at the end of file; “follow” file as it grows and end when the user presses Ctrl-C. Following by file descriptor is the default, so -f, --follow, and --follow=descriptor are equivalent. Use --follow=name to track the actual name of a file even if the file is renamed, as with a rotated logfile.
Identical to --follow=name --retry.
Print a help message and exit.
Print the last num lines.
Used with --follow=name to reopen a file whose size hasn’t changed after num iterations (default 5), to see if it has been unlinked or renamed (as with rotated logfiles).
Used with -f to end when process ID pid dies.
Suppress filename headers.
Keep trying to open a file even if it isn’t accessible when tail starts or if it becomes inaccessible later. Useful with --follow=name.
With -f, sleep approximately sec seconds ...