how to show/hide hidden files in os x
Cut & Paste into terminal.
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
To set it back (that .DS_Store on the Desktop is hella irritating), execute those same commands, but just switch that TRUE to FALSE…below
defaults write com.apple.finder AppleShowAllFiles FALSE
killall Finder