How to list the 20 most recently modified files and other bash tricks.

This command will list 20 of the most recently modified files in a directory. jason@Yog-Sothoth:~/Documents$ ls -thor | head -n 20 total 3.9G -rwxrwxrwx 1 jason 219K Mar 20 2008 northwind.sql -rw——- 1 jason 2.2M Jan 21 2009 ubuntupocketguide-v1-1.pdf -rwxrwxrwx 1 jason 1.9K Apr 28 2011 randimg.c -rw-r–rw- 1 jason 18K Feb 16 2013 netinstall … Read more