Name

halt

Synopsis

halt [options]

Prepares the system and then terminates all processes, usually ending with a hardware power-off. During preparation, all filesystem caches are flushed and running processes are sent SIGTERM followed by SIGTERM.

Options

-l

Do not log the halt via syslog (i.e., mach_kernel: syncing disks...).

-n

Do not flush filesystem caches. Should not be used indiscriminately.

-q

The filesystem caches are flushed but the system is otherwise halted ungracefully. Should not be used indiscriminately.

-y

Halts the system from a dial-up operation.

Get Mac OS X in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.