O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

shutdown

Synopsis

shutdown [options] when [message]

Terminates all processing. when may be a specific time (in hh:mm format), a number of minutes to wait (in + m format), or now. A broadcast message notifies all users to log off the system. Processes are signaled with SIGTERM, to allow them to exit gracefully. Only privileged users can execute the shutdown command. Broadcast messages, default or defined, are displayed at regular intervals during the grace period; the closer the shutdown time, the more frequent the message.

Options

-h

Halt the system when shutdown is complete.

-k

Print the warning message, but suppress actual shutdown.

-o [ -n ]

Execute halt or reboot instead of calling init. Passing -n also prevents a file cache flush.

-r

Reboot the system when shutdown is complete.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required