tail - read from bottom of file#

  • output the last 10 lines of a file

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

tail -n X file.txt