打開“終端”,輸入以下代碼:
defaults write ~/Library/Preferences/com.apple.finder
AppleShowAllFiles -bool true
然后重啟 Finder 即可,重起Finder有多種方法,最簡單的方法就是:
同時按住Control +
Option鍵,然后點擊Dock左邊的Finder圖標,這個時候菜單最下面就會出現(xiàn)重新打開Finder的鏈接。另外還可以同時按住
Option
+ Command + ESC
三鍵打開強制退出應(yīng)用程序?qū)υ捒颍诶锩骊P(guān)閉Finder之后,F(xiàn)inder會在關(guān)閉之后自動重新打開。
恢復隱藏的代碼:
defaults write ~/Library/Preferences/com.apple.finder
AppleShowAllFiles -bool false