Installation guide

In this case, the system begins to notify users of the impending shutdown,
disables logins, and proceeds with the standard shutdown activities. When
it completes these activities, shutdown automatically starts the reboot
operation, which involves running fsck for a consistency check on all
mounted file systems. If problems are not encountered, the system reboots
to multiuser mode.
_______________________ Note _______________________
If fsck finds file system inconsistencies, it displays a warning
message, recommending that you run fsck again from
single-user mode before operating the system in multiuser mode.
3.10.4 Shutting Down and Halting Systems Immediately
To shut down and halt the system immediately:
1. Log in as root and change to the root directory. For example, enter the
following command:
# cd /
2. Enter the shutdown command as follows:
# shutdown -h now
In response to this command, the system shuts down immediately and
halts the system.
_______________________ Note _______________________
Do not use this command when there are other users on the
system. Users get no warning messages and their processes are
immediately stopped.
3.11 Stopping Systems While in Single-User Mode
Although the shutdown command is your best choice for shutting down
systems, you can also use the halt command. This command should be
invoked only from single-user mode. If you are working in single-user
mode, you can stop systems by entering the following commands:
Starting Up and Shutting Down the System 3–19