Mac: Show Hidden Files


Besides using Terminal to view your hidden file through the command ls -a, you can view and hide your hidden files with a single command so you can view them through Finder (your regular user interface).

Type the following command(s).

Show your hidden files

defaults write com.apple.Finder AppleShowAllFiles YES

Hide your hidden files

defaults write com.apple.Finder AppleShowAllFiles NO