Show package contents from command line When working at the terminal, I often use the open . command to open a finder window showing the current working directory. But if the current directory is actually a package, like a .app application or a .vmwarevm virtual machine, open . launches the application or the virtual machine instead.

How can I open a finder window showing the contents of a specified package?

I’ve tried open -A /System/Library/CoreServices/Finder.app ., but that didn’t work.
You can simply cd into the package to open it in Terminal, then open Contents to open the contents in Finder.

For example, to open the contents of Safari.app in Finder, you can run the following:

cd /Applications/Safari.app
open Contents