I just got my MBP with Retina and i'm really new to the Mac OS X (using PC before). I noticed that the Mac doesn't have a GUI to show/hide hidden files like Windows. I've researched and saw this site Show Hidden Files on your Mac. And yes, it works.
To show hidden files:
com.apple.finder AppleShowAllFiles TRUE killall Finder
defaults write com.apple.finder AppleShowAllFiles FALSE killall Finder
I saw a link which provides options to Show/Hide hidden files.
I used the Automator Script which you can download from the link that i gave.
To make things more efficient for me to Show/Hide hidden files, I saved the script as an Application using Automator.
And then created a keyboard shortcut for the "Show-Hide Hidden Files" application that I created using the steps found here:
And now i just have to press the keyboard shortcut if i want to show or hide hidden files. I can do this in any application. :)
BTW, thank you all for your answers. This is just another way to show/hide hidden files efficiently.