How to show hidden files in Mac OS X Finder

Write in terminal:

defaults write com.apple.finder AppleShowAllFiles YES

Don’t forget to relunch Finder