常用命令 显示隐藏文件 1 defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder 关闭隐藏文件显示 1 defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder 锁定程序坞 1 defaults write com.apple.dock contents-immutable -bool…