!* will insert all the arguments from your previous command.
Handy if you run a command, but forget one argument; or if you open a file with one program and decide you’d be better off using another.
sips
sips is a handy little image manipulation utility that ships with OS X.
To rotate an image 90° clockwise:
sips -r 90 pretty-picture.jpg
To resize an image so that it’s 500 pixels wide:
sips --resampleWidth 500 pretty-picture.jpg
For simple tasks like that, it’s a lot quicker than firing up an image editor (even Preview).
shred
When you really want to delete a file, and make it very hard to recover, shred can come in handy:
shred -u -z -n 10 plan-for-world-domination.txt
The above will overwrite your plan-for-world-domination.txt file with random ones and zeros 10 times, remove the file and finally overwrite it with zeros (in a bid to hide the fact you’ve shredded the file).
Needless to say, shred should be used with caution.
The look utility displays any lines in file which contain string as a prefix.
Handy enough. But if you don’t point look at a particular file, it defaults to using your system’s dictionary, which turns it into a quick spell-checker for the command line (or a way to remember that word that’s on the tip of your tongue).