顯示Mac隱藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool trueshell
隱藏Mac隱藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool falseapp
或者spa顯示Mac隱藏文件的命令:defaults write com.apple.finder AppleShowAllFiles YEScode
隱藏Mac隱藏文件的命令:defaults write com.apple.finder AppleShowAllFiles NO
輸完單擊Enter鍵,退出終端,從新啓動Finder就能夠了
重啓Finder:鼠標單擊窗口左上角的蘋果標誌-->強制退出-->Finder-->從新啓動it