Apple Index Page 1

How to Show or Hide Files in Finder (OSX)

If you want to show or hide files in finder you can use defaults command. To enable it use defaults write com.apple.finder AppleShowAllFiles TRUE. You need to kill Finder, check here for more details