How to show hidden files and folders in Mac OS X Finder

How to reveal secret hidden files on the Mac OS X desktop: this Mac Finder trick displays hidden files and folders.
Mac

How to show hidden files using Mac Terminal

Open Terminal (click Go > Utilities and double-click the Terminal app)

Now copy and paste both lines listed below into Terminal one at a time, and press Return after each line:

defaults write com.apple.finder AppleShowAllFiles YES

killall Finder



How to hide hidden files again in Mac using Terminal

Returning files to their native 'hidden' state using Terminal is just as easy. You use the same command but write NO at the end (matching the case is important). Cut and paste these two commands into Terminal:

defaults write com.apple.finder AppleShowAllFiles NO

killall Finder

Posted by fbrefere001 on Thursday February 19, 2015