Mac操作系统下,显示/隐藏Mac隐藏文件命令如下(注意其中的空格并且区分大小写),打开终端在终端中输入对应的命令:
显示Mac隐藏文件的命令:
defaults write com.apple.finder AppleShowAllFiles -bool true
隐藏Mac隐藏文件的命令:
defaults write com.apple.finder AppleShowAllFiles -bool false
或者显示Mac隐藏文件的命令:
defaults write com.apple.finder AppleShowAllFiles YES
隐藏Mac隐藏文件的命令:
defaults write com.apple.finder AppleShowAllFiles NO
输完单击Enter键,退出终端,重启计算机就好了!!