OSXFAQ Mac OS X UNIX Tip-of-the-Day

Week 104 - Unix Commands Reference IV (11 April 2005)
by
Adrian Mayo - Editor, OSXFAQ
Wednesday - OSX Special - System Commands
These are command line equivalents for System Preferences panes.
(See tips weeks 16 and 18)
softwareupdate ... command line version of S/W update
This is useful to software update via a remote connection to a server.
update_prebinding ...
redo_prebinding ...
When new executables and libraries are added, these commands can be used to update the binding information so commands launch faster. Normally done as part of an install or software update.
system_profiler ... generate detailed system information
This is a command line equivalent to 'About This Mac, More Info...' in the Apple menu. It generates textual information to standard output.
scselect ... change network location
This is equivalent to changing the Network Location in System Preferences pane Network
pmset ... set power management parameters (screen, disc etc)
bless ...bless a system folder, optionally make it the boot disc
Can be used to change the startup disc, and to 'register' cloned systems.
(See tips week 75)
nvram ... manipulation of Open Firmware NVRAM variables
(See tips week 75)
ioreg ... display IO reg hierarchy
service ... interface to xinetd services - shell script
These commands query and manipulate information in NetInfo and Directory Services.
(See Tips weeks 91 and 96 for scripts which use NetInfo and Directory Service commands.)
DirectoryService ... DS daemon, part of Open Directory
ni* ... NetInfo command set to query and change NetInfo
(See example usage in Friday's tip)
nicl ... NetInfo Command Line Utility
nidump ... Dump NetInfo information in unix FF format
niload ... Load NetInfo information from unix FF format
niutil ... read and write domain in plain text
nifind ... find a NetInfo directory
nigrep ... performs a regular expression search on NetInfo
nireport ... prints tables from NetInfo
dscl ... directory services command line utility
dscl is preferred over the ni* set of commands
(See example usage in Friday's tip)
scutil ... interface to configd to manage Network Locations etc
If you want to learn more about Mac OS X Unix visit the Learning Center
click.
- For beginners: Mac OS X Unix Tutorials
- For detailed information on specific topics: Advanced Unix
- For OS X in gereral: Mac OS X Tutorials
|