My favorite new one that I have been using a lot: function cheat() { curl cht.sh/$1 } It queries the cht.sh cheatsheet of various Unix commands. 'cheat tar' prints: # To extract an uncompressed archive: tar -xvf /path/to/foo.tar # To create an uncompressed archive: tar -cvf /path/to/foo.tar /path/to/foo/ # To extract a .gz archive: tar -xzvf /path/to/foo.tgz # To create a .gz archive: tar -czvf /path/to/foo.tgz /path…
This is awesome, I ALWAYS have to google for how to untar an archive (I don't do it often enough to commit to memory) thank you!
atool --extract $*
That will unpack "anything", into a sub-directory if necessary. Something I use more than any other alias.