Categories
Utilities Notes

Stored Settings – use defaults

mac 128 ~ % defaults write com.centosprime.mac “testing” ‘jibble’
mac 130 ~ % defaults read com.centosprime.mac
{testing = jibble; }
mac 131 ~ % defaults write com.centosprime.mac “resting” ‘jabble’
mac 132 ~ % defaults read com.centosprime.mac
{resting = jabble; testing = jibble; }
mac 133 ~ % defaults read com.centosprime.mac “resting”
jabble
mac 134 ~ % FOO=`defaults read com.centosprime.mac “resting”`
mac 135 ~ % echo $FOO
jabble