Ubuntu – How to Shut down Ubuntu by using keyboard

keyboardshortcut-keysshutdownunity

How to shut Down Ubuntu by using Keyboard only. [Like Windows style]
In windows XP if we press Start+u+u this keys for shutdown.
and Start+u+r for restart computer.
Start+u+h for Hibernet
etc.
How can I do it in Ubuntu.
Any keyboard shortcut for it? and without terminal also.
I read:-
How to shut down the system
How to shut down my computer?

Best Answer

Well you could open terminal by pressing CTRL+ALT+T

then simply type :

-for shutdown:

sudo shutdown

or

sudo poweroff

-for restart:

sudo reboot

As far as I am aware, there isn't a system shortcut for shutdown, but you could create one. Read Are there any Keyboard Shortcuts to Shutdown?