Open Current Working Directory in Finder using Mac Terminal


At times when you may be working on the Mac Terminal App and want to see what's in a directory by opening it in Finder App. Well, there is a command for it and the name is quite trivial - open

Demo
Open Current location in Finder using Terminal Command

As you can see in the above GIF demo, open . opens the current working directory (pwd) in Finder App.


You may also use the open command followed by a path to open directories, files, or Applications as well.


Example:
% open /User/c2c/Desktop/myFiles

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org



















Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap