How to display hidden files in Mavericks

Gabriel Zhang June 7, 2014

Before Mavericks, we can use the following two commands to display/hide hidden files:

defaults write com.apple.Finder AppleShowAllFiles Yes && killall Finder //display system files
defaults write com.apple.Finder AppleShowAllFiles No && killall Finder //hide system files

But in Mavericks, we need to use the latest commads, change the first Finder to finder:

defaults write com.apple.finder AppleShowAllFiles Yes && killall Finder //display system files
defaults write com.apple.finder AppleShowAllFiles No && killall Finder //hide system files