You are not allowed to add pages
Direct Link
Direct Link
Change macOS user preferences via command line
Way to Copy Mac OS X preferences into a shell file
defaults 命令详解
defaults write com.apple.finder AppleShowAllFiles -string YES
Let’s take it apart to get familiar with the terminology used throughout this article:
Domains are objects that contain settings for a particular system component, installed application or a configuration .plist file located in /Library/Preferences/.
# List all domains defaults domains defaults domains | tr ',' '\n'
# Read global shortcuts defaults read -g NSUserKeyEquivalents defaults read-type -g NSUserKeyEquivalents ## Type is dictionary # Write global shortcuts defaults write -g "NSUserKeyEquivalents" -dict \ "Copy" "^C" \ "Paste" "^V" \ "Select All" "^A" \ "Cut" "^X" \ "Undo" "^Z" \ "Redo" "^Y" \ "Find..." "^F" \ "Replace" "^R" \ "Find Next" "\\Uf706" \ "Find Previous" "$\\Uf706" \ "Save..." "^S" \