Website hosting and cheap domain registration services
  

 Home

Red Hat Linux 7.1: The Official Red Hat Linux Getting Started Guide
PrevChapter 3. The KDE Desktop EnvironmentNext

Shutting Down at the Shell Prompt

Like the Run program option in GNOME, you can use the shutdown command to halt or restart your system from a shell prompt, whether you're working in GNOME, KDE, or the non-graphical environment.

To halt or restart your system from a shell prompt:

  • Open a shell prompt — From the panel, click on the Terminal Emulation or Console launcher.

  • 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.

  • At a console, type shutdown -r now or shutdown -h now and enter your user account password after the Password prompt.

Be sure to save your work before halting or restarting your system from the shell prompt. Running applications will be closed and you won't have the option of saving your work or your session.

TipKilling an X Session
 

If you're having difficulty quitting your X session, (for example, if you get no response when you click on the Log out button in KDE) you can swiftly kill the X session and return to the login screen by pressing the [Ctrl]-[Alt]-[Backspace] keys. This procedure should be used only as a last resort, however. Make sure you close your running applications and save your work before logging out this way!

TipMore About Shutting Down
 

You can specify the delay between when you issue the shutdown command and its execution. Replace the word now with a "+" and a number; for example shutdown -h +5 will shutdown and halt the system after five minutes have passed.


PrevHomeNext
Quitting from KDEUpCustomizing Your Desktop in GNOME and KDE

 

  

Network sites:

 
 
 
 
 

Disclaimer: For authoritative source or latest update to this documentation, please refer to http://www.redhat.com/docs/manuals/linux/