Type "defaults write com.apple.finder AppleShowAllFiles ON" to show hidden files. Change "ON" to "OFF" to hide hidden files.
After either of these command type "killall Finder" to restart the Finder.
The best way (using just the terminal) is to cd to the directory in question and type "ls -lsa" without the quotes. That will list all the files in the said directory.