How to show your hidden files (dot files) in Finder

To show all files (including hidden files) in Finder, type this in the Terminal (Applications/Utilities/):
defaults write com.apple.Finder AppleShowAllFiles YES

To revert back to not showing hidden files:
defaults write com.apple.Finder AppleShowAllFiles NO

…and relaunch Finder.