Section 2.12:Shutting Down at the Shell Prompt
2.11 Shutting Down from the Run Program Menu
An additional way to shut down or restart your machine is to select the
and, in the dialog which opens, type shutdown -r now or shutdown -h now. The
Main Menu
-r means reboot, and will restart your machine; the -h means halt, and will shut down the system.
2.12 Shutting Down at the Shell Prompt
Like the
Run program
your system from a shell prompt, whether you are working in GNOME, KDE, or the non-graphical
environment.
To halt or restart your system from a shell prompt:
•
To see a shell prompt, from the panel, click on the
•
At the shell prompt, type shutdown -r now or shutdown -h now and enter your user
account password in the dialog box that appears. The -h means halt and will shut down the system;
the -r means reboot and will restart the system.
•
In console mode, type shutdown -r now or shutdown -h now and enter your user account
password after the Password prompt.
Make certain that you have saved your work before halting or restarting your system from the shell
prompt. Running applications will be closed and you will not have the option of saving your work or
your session.
If you are having difficulty quitting your X session, (for example, if you get
no response when you click on the
end the X session and return to the login screen by pressing the
[Backspace]
ever. Make sure you close your running applications and save your work
before logging out this way!
option in GNOME, you can use the shutdown command to halt or restart
Restarting an X Session
keys. This procedure should be used only as a last resort, how-
Terminal Emulation Program
button in KDE) you can swiftly
Log out
item from the
Run program
launcher.
[Ctrl]-[Alt]-
41
Need help?
Do you have a question about the LINUX 7.2 and is the answer not in the manual?
Questions and answers