To view hidden files in Terminal, follow the steps below:
Important Note!: Only use these steps if you feel confident using the Terminal. Otherwise, contact your system administrator to do this for you)
- Launch the Terminal application (Application>Utlities> Terminal).
- Type the following line in Terminal show all files:
defaults write com.apple.Finder AppleShowAllFiles YES - Relaunch the Finder.
- To hide all the files in the file system, type the following line in Terminal:
defaults write com.apple.Finder AppleShowAllFiles No - Relaunch the Finder.
Background:
The Terminal is an application in Mac OS X that allows you to work with the Unix subsystem that forms the core of the Mac operating system.