How to show all hidden files in finder on OS X
By default, hidden files are hidden in finder. To turn them on, open up terminal and type the following line:
$ defaults write com.apple.finder AppleShowAllFiles TRUE
Then, restart finder:
$ killall Finder
If you want to revert to hiding hidden files, you can do the same thing but pass FALSE instead:
$ defaults write com.apple.finder AppleShowAllFiles FALSE
$ killall Finder