Show hidden files at OSX Finder

Show hidden files

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

Hide hidden files

defaults write com.apple.finder AppleShowAllFiles FALSE
killall Finder