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
-


Have Questions? Post them here!

Topics Coverage:


🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.

Follow Us: GitHub | Facebook | Twitter | Instagram