How do I view hidden files on a Mac?

Open your terminal application and type in the following and press Return:

defaults write com.apple.finder AppleShowAllFiles -bool true

You will need to relaunch the Finder for the changes to take effect. This can be done by logging out of your computer or via the Force Quit menu.

To hide your files again, enter the following command in your terminal:

defaults write com.apple.finder AppleShowAllFiles -bool false

Again, you will need to relaunch the Finder.

Need help?

Last updated: 

February 10, 2012

Browse by tag