Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Set system and network prefs from the Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set system and network prefs from the Terminal
Authored by: bjast on Dec 17, '04 10:09:34AM

I was able to get the help portion working:

Ready: sudo ./systemsetup -help | more

systemsetup Help Information
-------------------------------------
Usage: systemsetup -getdate
Display current date.

Usage: systemsetup -setdate <mm:dd:yy>
Set current date to <mm:dd:yy>.

Usage: systemsetup -gettime
Display current time.

___________________________________________________________

But have been unable to get any of the functions to work:

Ready: otool -L networksetup
su: otool: Command not found.

I am running as root.

Hm

bjast



[ Reply to This | # ]
Set system and network prefs from the Terminal
Authored by: dreness on Dec 17, '04 05:25:44PM

otool is not related to either systemsetup or networksetup. It is a developer tool that allows, among other things, for examining which libraries / frameworks are used by a given executable. In this context, it's just here to show that these tools do their job using the same system facilities as the GUI tools.



[ Reply to This | # ]