Often we want to open Finder window when we are working on Terminal. Here are few scenarios to open Finder window from command line terminal on Mac.
Terminal – Open current dir in Finder
$ open .
Terminal – Open home dir in Finder
We can use tilde (~) to open current user home dir
$ open ~
Terminal – Open any directory in Finder
This can open system directories also which are hidden in Finder otherwise.
$ open ~/Library/ $ open /tmp