Open a directory in Finder through Terminal window
A simple trick for opening a directory in Finder through the Terminal window:
% open <dirpath>
Example usage:
Say you would like to open the current directory you are in the Terminal window, then you would use:
open .