Mas OS X terminal tricks

Here is a good list of some basic but useful terminal commands to know on Mac OS X.

If you want double clickable terminal commands you can add .command or .tool extensions to a text file and then give it execute permissions. When you double click it will open and run the command. Depending on your settings the window will close automatically once the command completes.