2.4.32. tail#

tail prints the last lines of a file.

2.4.32.1. Common tail usage#

  • Output the last 10 lines of a file:

tail file.txt
  • output the last X lines of a file

tail -n X file.txt