There is a Terminal command that will do it, but I can't remember exactly what it is. :o
Instead, you can download TinkerTool, a freeware utility that can turn viewing invisible files on and off. It can also change your system fonts for you, and lots of other neat tricks. You can find it at versiontracker.com.