Open Finder from the Terminal

Dec 15, 2009 - 7 Comments

You can immediately access the present working directory in the Finder by typing the following command in the Terminal:

open .

If you have just launched Terminal, typing this in the command line will immediately open your home directory, but you can be anywhere and it works the same. You can also specify directories to open from the terminal into the Finder, like so:

open /Applications/Utilities/

This opens your utilities app folder. Try it with just about anything.

Note: Oops looks like David covered this a month ago: Open Current Folder in Finder from the Terminal, Thanks for pointing this out Carl!

Related articles:

Posted by: Bill Ellis in Command Line, Mac OS X, Tips & Tricks

7 Comments

» Comments RSS Feed

  1. Bruce says:

    Is there a way to make it so that we can run this via a shortcut? That would be super helpful.

  2. Chromeo says:

    bruce, shortcut to what? open is pretty short?

  3. Carl says:

    Humm…. is it november 30th all over again? I didn’t think you would recycle hints on such a short time frame. :P

  4. Bill Ellis says:

    @Carl, oops! Thanks for pointing this out!

  5. Bruce says:

    @Chromeo I’m saying like a Command + F to open the finder (most likely not that exact shortcut but something similar).

  6. Andre says:

    Hi, i want to open folder in Finder and select file via command line. Any idea?
    Thanks!
    Andre

  7. Steve Bennett says:

    FYI, the Windows equivalent is: start .

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