Next Previous Contents

9. Shutting down a Linux computer

A Linux computer needs to be turned off correctly, to ensure that files are correctly written to the hard drive, and that programs are closed properly.

Reboot the computer

/sbin/shutdown -r now

Shutdown (halt) the computer

/sbin/shutdown -h now

Reboot the computer

Press Control-Alt-Delete

When the shutdown command starts, it will display information as each step of the shutdown sequence is completed, until the computer finally displays:

The system is halted

in which case you can turn off the computer, or

Please stand by while rebooting the system...

for a computer that is being rebooted.


Next Previous Contents