Show Hidden Files on your Mac
Launch the Terminal and enter these commands exactly as shown. The first command activates the ability to see the hidden files:
defaults write com.apple.Finder AppleShowAllFiles TRUE
Now you must relaunch the Finder by killing it, this is how the changes take effect:
killall Finder
If you want to hide hidden files again (those preceded with a .) and go back to the default Mac settings, you can just type the following:
defaults write com.apple.Finder AppleShowAllFiles FALSE
Again you will need to kill the Finder so that it can relaunch for changes to take effect:
killall Finder
That’s all there is to it!
本文介绍如何使用Mac的终端命令来显示或隐藏系统中的隐藏文件。通过简单的几步操作即可实现,包括激活显示隐藏文件的功能及重启Finder应用使更改生效。
421

被折叠的 条评论
为什么被折叠?



