Open Current Folder in Finder from the Terminal

Nov 30, 2009 - 9 Comments

open folder from terminal

From the Terminal, you can immediately open whatever folder or directory you are working within into the Finder by simply typing the following command:

open .

This will open the present working directory (PWD in the world of UNIX acronyms) in the Terminal / Command line into the Finder. So if you’re digging around in /Library/Preferences/Mozilla/ and type open . that folder will be opened in the Finder. The screenshot above shows this in action while the PWD within the Terminal is the /Applications directory, thus the Applications folder is opened in the Finder.

Related articles:

Posted by: David Mendez in Command Line, Mac OS X, Tips & Tricks, Utilities

9 Comments

» Comments RSS Feed

  1. Leho Kraav says:

    how do you do it the other way around – i often want to open Terminal at the path open in Finder.

  2. [...] Shared Open Current Folder in Finder from the Terminal. [...]

  3. [...] Shared Open Current Folder in Finder from the Terminal. [...]

  4. [...] Shared Open Current Folder in Finder from the Terminal. [...]

  5. [...] Oops looks like David covered this a month ago: Open Current Folder in Finder from the Terminal, Thanks for pointing this out [...]

  6. john says:

    life saver!

  7. [...] Open Current Folder in Finder from the Terminal Categories: Apple, [...]

  8. [...] option is to use the command line and open to bring the root directory into the GUI through [...]

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

OSXDaily on Facebook

OSXDaily on Google+

Shop at Amazon

Ad

Shared on Facebook