The command tail <filename> displays the last 10 lines of the file<filename>. The command tail -<n> <filename> prints the last <n> lines. A neat
option is tail -f <filename>, which “tails” the end of the file; i.e., as the file
grows, tail displays the newest line. This can be handy for monitoring a file being written
by a running program.
Try the following command to see the last 10 words in the standard dictionary on your system:
tail -10 /usr/share/dict/words