mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-31 06:18:17 +01:00
19 lines
306 B
Markdown
19 lines
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}}`
|