Before turning off your computer, it is important to shut down Red Hat Linux.
Never turn off your computer without shutting down first, as you may lose unsaved data or damage your system if you do.
If you are in the graphical desktop, log out of your session as described in the “Logging Out” section earlier in this chapter. From the graphical desktop logout screen shown in Figure 5-6, select Shut Down and click OK to confirm.
You can also shut down from the graphical login screen by clicking Session, selecting the Shut down the computer option, and clicking OK.
Some computers automatically turn the power off after shutting down Red Hat Linux. If your computer does not, you can turn off the power to your computer after you see the following message:
If you are logged in to a console, type the following command to shut down your computer:
While you can also use the shutdown command, shutdown must be performed as root whereas halt can be executed by any user.
Some computers automatically power down after shutting down Red Hat Linux. If your computer does not, you can turn off the power to your computer after you see the following message: