NAME
tail - output the last part of files
SYNOPSIS
tail [OPTION...] [FILE...]
DESCRIPTION
tail prints the last 10 lines of each FILE to standard output; with more than one FILE, precedes each with a header giving the file name; with no FILE, reads standard input.
OPTIONS
-f
Output appended data as the file grows.
-N
Output the last N lines, this is the shorthand of '-n N'
-n N
Output the last N lines, instead of 10; or use +N to output lines starting with the Nth.
-q
Never output headers giving file names.
-s SECOND
With -f, sleep for approximately SECOND seconds (default 1.0) between iterations.
-v
Always output headers giving file names.
EXAMPLE
To print the last 10 lines of a File to standard output
To print the last 4 lines of a File to standard output
To print the last 4 lines of mutliple files to standard output
To print the last 10 lines of a file to standard output and continue to append data as the file grows
NOTES
If both -q and -v are specified, headers are not displayed. With -f, only the last file is followed if more than one files are specified.