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
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