Show Hidden Files OS X 10.7 Lion
Open Terminal.app (Applications > Utilities) and type the following commands:

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder


To undo re-open Terminal.app and run

defaults write com.apple.finder AppleShowAllFiles FALSE
killall Finder