1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 06:18:17 +01:00
tldr/pages/osx/defaults.md
2015-12-31 00:15:24 +05:30

19 lines
No EOL
306 B
Markdown

# defaults
> Access OS X user defaults
- read all defaults
`defaults read -app {{app-name}}`
- read specific defaults
`defaults read -app {{app-name}} {{key}}`
- write key value
`defaults write -app {{app-name}} {{key}} {{-type}} {{value}}`
- delete all defaults
`defaults write -app {{app-name}}`