显示:
defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
隐藏:
defaults write com.apple.finder AppleShowAllFiles -bool false ; killall Finder
查看当前版本:
more /System/Library/CoreServices/SystemVersion.plist
![](https://i-blog.csdnimg.cn/blog_migrate/e1e4b52271091b10a11616691dc58260.png)
或者:
sw_vers
![](https://i-blog.csdnimg.cn/blog_migrate/918109d6b3649c0e0b28a48387cc5420.png)
![wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==](https://i-blog.csdnimg.cn/blog_migrate/8dafa24723dec3b9cbcbaccb3212a75c.png)
转存失败重新上传取消