Mac terminal 命令收集[持续更新]
2016-08-25 本文已影响27人
syncwt
- 查询本地网络IP地址
$ ifconfig | grep "inet" | grep -v 127.0.0.1
- 打开/关闭显示隐藏文件
$ defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder
$ ifconfig | grep "inet" | grep -v 127.0.0.1
$ defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder