Shutting Down From the Command Line
* 1 Log in as the root user.
* 2 From the command line or from a command line window, enter one of the following commands:
* halt : All processes immediately stop and the system shuts down.
* shutdown halt + minutes or shutdown halt hh:mm : A warning message displays until all processes stop and the system shuts off. minutes is the number of minutes before the system shuts down. hh:mm sets the time in hours and minutes for the shutdown using a 24 hour clock.
* reboot : The system shuts down and restarts.
[Note]
Use the shutdown command to give regular users time to save their work.
[Warning]
If you do not shut down properly, then you risk damage the operating system. Even if you don't, your system will check and, if necessary, repair the root partition before restarting.

