On 27/01/2005, at 7:01 AM, Abdulmajeed, Ahmed wrote:
I found that the information is saved "nested" in two .plist files, if
it
was not nested then a simple "defaults write" command would do that.
What I
am looking for specifically is an shell command that can replace a
string of
text in a file, or if you know of another way!
or: scutil -w dynamic-store-key [ -t timeout ]
-w wait for presense of dynamic store key
-t time to wait for key
or: scutil --get pref
or: scutil --set pref [newval]
pref display (or set) the specified preference. Valid
preferences
include:
ComputerName, LocalHostName
newval New preference value to be set. If not specified,
the new value will be read from standard input.