DirectNET

Data Center Management Solutions including UPS Systems, Data Center Cooling, KVM over IP & IP Power Strips, Server Racks and Server Rack accessories; KVM Switches and KVM Extenders; Rackmount Monitors and Rackmount Keyboards.


NAVIGATION
Home
Store
INSIDE MAC
Television Shows
Broadcast Shows
Daily News Shows
Special Shows
EVENTS
DAILY TIPS
Design
Mac OS X
Mac OS X UNIX
COMMUNITY
Forums
Surveys
NEWS
Current
Press
Archive
FEATURES
Editorial
Dr. Mac
Reviews
Reader Reports
RESOURCES
FAQ
Documentation
Learning Center
MAN pages
Glossary
Tutorials
Tips
Links

OUR PARTNERS

OSXFAQ Mac OS X UNIX Tip-of-the-Day   back to index

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


Discuss this trick in the Learning Center forum


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

Copyright © 2000-2008 Inside Mac Media, Inc. All rights reserved.
Apple assumes no responsibility with regard to the selection, performance, or use of the products or services. All understandings, agreements, or warranties, if any, take place directly between the vendors and prospective users.
Apple, the Apple logo, Mac, PowerMac G4, PowerMac G5, Xserve, Xserve RAID, PowerBook, iBook, Airport, AirPort Extreme, iMac, eMac, iLife, iMovie, iCal, iPhoto, iTunes, QuickTime, FireWire, iPod, iSight, AppleWorks, Macintosh, Jaguar, Panther, Mac OS, Mac OS X and Mac OS X Server are trademarks of Apple Computer, Inc.