• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Part: VI Server/Network Administration > Command-Line Configuration and Adminis...

Chapter 20. Command-Line Configuration and Administration

You've already been introduced to configuring and controlling the system through GUI utilities such as the control panels. When using older versions of Mac OS, the only access you have to the configuration for the system is through the GUI interface. Now, you have the option of using a GUI or modifying things through the command line. Although you might wonder whether you'd ever want to use the command line for configuration when Apple has provided such nice GUI tools for configuration, we think there are a few arguments to be made for the command line.

  • Generally, we agree that Apple's GUI tools are nice. Still, they're GUI tools, and that means you need access to the GUI to use them. If you're trying to manage your machine from a remote location (more on this in Chapter 26, “Remote Administration”), access to the GUI might not be possible.

  • Even if you're at the console, GUI tools generally take more time to load up and display their interface than it takes to tweak configuration files. Sometimes this doesn't make any difference, but sometimes it's simply annoying to wait for a GUI interface to load, when only a few keystrokes are necessary to make the same change.

  • Configuration files don't need you to change them. A piece of software can make changes to configurations for you. More interestingly, software can change your configurations on a schedule or based on changes that it detects in the operation of the system. This can let you automate things such as location or network settings, as well as a range of other possibilities.

  • Finally, just to be pedantic, we'll point out that the GUI interface is software running on top of a non-GUI interface. It's possible for the software that creates the GUI interface to be damaged, and for the rest of the system still to be intact enough to run. If you're limited to knowledge of the GUI tools only, you're very limited in your ability to fix the situation. Generally, when dealing with Unix-based things, it's safest to have a handle on the command-line configuration and administration tools. For a pure Unix book, we'd say that it is imperative that you avoid the GUI tools and learn to do everything with the command line. For this book, we'll say that it's a good idea to know the command-line tools—Apple has done a very good job.

In this chapter, we'll introduce you to the tools that you need to modify your machine's configuration from the command line, and give you a few examples of things that you can do. You'll learn further specifics about the use of these tools in chapters such as Chapter 24, “User Management,” where we detail specific system configuration topics.



Not a subscriber?

Start A Free Trial

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint