Terminal tips from Craig Hockenberry

When you use a Mac everyday for your job, you want to find ways to do your work faster and more effectively. Craig Hockenberry (@chockenberry) has a great post on OS X command line tips. He has an extensive list of tips on how to make the most of the Terminal command line.

One of my favorites (which I had completely forgotten about) are ways to open Finder.app from the command line:

$ open -R .

This will open the parent directory in Terminal in a new Finder.app window. Some of the other tips on running Applescript from the command line are evern better.

As Craig noted, all his examples are based on the bash shell, so if you've configured your Terminal environment differently your mileage may vary.

Link: The Terminal

Comments

Top