Skip to Main Content
Running Mac OS X Tiger
book

Running Mac OS X Tiger

by Jason Deraleau, James Duncan Davidson
December 2005
Intermediate to advanced content levelIntermediate to advanced
400 pages
11h 33m
English
O'Reilly Media, Inc.
Content preview from Running Mac OS X Tiger

Shutting Down the System

When you shut down the system or reboot, a controlled process occurs so that the system is left in a good state. This process is:

  • All running startup items are called with the stop parameter, giving them a chance to shut down gracefully.

  • All running processes are stopped.

  • The system syncs the filesystems with their in-memory caches.

  • The system hands off control back to Open Firmware.

  • Open Firmware either shuts down the system or reboots, depending on the instructions that the system handed to it as it shut down.

Normally, you’ll shut down the system by selecting Shutting Down the System Shut Down. You can also shut down from the command line using either the reboot or the shutdown command. To reboot the system, simply enter the following:

$ sudo reboot

To shut down the system:

$ sudo shutdown -h now

Warning

When you reboot or shut down from the command line, all running applications are automatically and promptly terminated. This means any unsaved changes will be lost, so make sure this is what you want to do before issuing either of these commands.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Apple Training Series Mac OS X Directory Services v10.5

Apple Training Series Mac OS X Directory Services v10.5

Arek Dreyer

Publisher Resources

ISBN: 0596009135Catalog PageErrata