1.打开Finder-->[应用程序]-->[实用工具]-->[终端]

2.显示隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles YES