There are numerous utilities that do this and a couple of other pieces of software (for example, RBrowser lite which is a free FTP client that will let you browse your own local machine).
To do it through the terminal, just type
Code:
defaults write com.apple.finder AppleShowAllFiles TRUE
and then type
Obviously, replace TRUE with FALSE to hide them again. killall Finder restarts the Finder so the changes take effect.