Today I learnt: If you need to output the contents of a file in reverse order i.e. last line first, there’s a counterpart to the cat
command line program:
tac
See what they did there?! Not something you’ll need every day, but handy when you do.
![Screenshot of using cat and tac commands in a terminal](https://simonplend.com/wp-content/uploads/2021/03/tac-program-1024x835.png)
Documentation: https://man7.org/linux/man-pages/man1/tac.1.html