Bash-Oneliner is an excellent resource for Bash/Linux users. Most of the “tricks” are well-known, but there is always something to learn. More importantly, finding them all well organized in one file is rare.

I use the reverse lookup of bash-history (Ctrl+R) daily. Still, only today (thanks to an HN comment on Bash-Onliner) did I learn that it also preserves one’s comments, which can be exploited to invoke complex commands quickly:

$ mv -n ~/Desktop/*.pdf ~/Documents/PDF_Archive/  #pdfsync

Then, you simply Ctrl-R and type “pdfsync” to recall the above command when needed. Neat.