Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

What is the shortcut key to shutdown the computer for Ubuntu 12.04?

share|improve this question
add comment

marked as duplicate by Mitch, Eric Carvalho, Seth, belacqua, bcbc Jun 10 '13 at 19:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

Safe(r) Shutdown:

To shut down from a terminal you can use sudo shutdown. If you want to make a shutdown shortcut you can assign the command gksudo shutdown to a shortcut.

There by default is no safe shutdown key combo in newer versions of ubuntu that I know of. In older versions of ubuntu using CTRL+ALT+DELETE will give you an option to shutdown though.

Force Shutdown:

If you want to force a mostly-safe shutdown you can use REISUB.

Hold down ALT and SYSREQ. The SYSREQ key is the PRT SCRN (Print Screen) key on most systems. So hold down ALT and PRT SCRN, then press the following keys in order: R, E, I, S, U, B.

Be sure to wait at least 2 seconds after pressing one key before pressing the next! After you press B, the system should reboot.

For more info on ALT+SYSREQ combos check out: http://en.wikipedia.org/wiki/Magic_SysRq_key

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.