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 is a seasoned developer with over 10 years of experience in web and app development, and a deep knowledge of operating systems. Author of insightful How-To articles for Code2care.

Follow him on: X

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