MacOS Commands | MacOS 实用命令

sudo tmutil disablelocal
关闭时间机器本地备份

sudo /usr/libexec/locate.updatedb
更新locate数据库

sudo sed -i ".bak" '2s/^/auth sufficient pam_tid.so\'$'\n/g' /etc/pam.d/sudo
指纹授权

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
Finder显示当前文件夹路径

defaults write com.apple.dock springboard-columns -int 8 && defaults write com.apple.dock springboard-rows -int 7 && killall Dock
修改Launchpad图标排列

ulimit
硬件限制

0 0 vote
Article Rating