I would like to share with you, the linux shell commmands for shutdown, restart and logout. You may find these commands handy if your GUI is inaccesible, due to some particular reason, or if you’re a die-hard terminal/TUI fan.
So, the commands are-
- Shutdown
saji@saji-laptop:~$ sudo shutdown -h now
saji@saji-laptop:~$ sudo shutdown -r now
saji@saji-laptop:~$ gnome-session-save --gui --logout
N.B: The logout command is for Gnome only.
Reblogged this on Srikanth's Blog.
Cntrl+shift+backspace for logout