Fortunately, Apple includes ways to access these hidden goodies inOS Xand the more recentmacOS.

With Terminal, a simple command is all it takes to get your Mac to spill its secrets.

How to Use Terminal

LaunchTerminal, located at/Applications/Utilities/.

macOS Terminal with hidden files in a Finder window superimposed

The first line tells the Finder to display all files, regardless of how the hidden flag is set.

The second line stops and restarts the Finder, so the changes can take effect.

You may see your desktop disappear and reappear when you execute these commands; this is normal.

Terminal application in macOS Finder Utilities folder

For example, have you ever wondered where your email messages are stored?

If you use Mail, you’ll find them in the hidden Library folder.

Likewise, the Library folder contains yourCalendar, Notes,Contacts,Saved program States, and much more.

Terminal window with commands inline

defaults write com.apple.finder AppleShowAllFiles FALSE

Poof!

The hidden files are once again hidden.

No hidden folder or file was harmed in the making of this Mac tip.

Terminal with ShowAllFiles set to FALSE