defaults write com.apple.finder AppleShowAllFiles -bool true; killall Finder //显示隐藏文件
defaults write com.apple.finder AppleShowAllFiles -bool false; killall Finder //隐藏隐藏文件
defaults write com.apple.finder AppleShowAllFiles -bool true; killall Finder //显示隐藏文件
defaults write com.apple.finder AppleShowAllFiles -bool false; killall Finder //隐藏隐藏文件