Mac下的常用指令

系统操作相关

# 重置 Launchpad
cd ~/Library/Application\ Support/Dock/
rm ~/Library/Application\ Support/Dock/*.db && killall Dock
defaults write com.apple.dock ResetLaunchPad -bool true && killall Dock

Author: bugwz
Link: https://bugwz.com/2018/01/01/commands-mac/
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.