Don't have Telegram yet? Try it now!
https://saji89.wordpress.com/2010/09/10/shell-commands-for-shutdownrestartlogout/
Shell commands for Shutdown/Restart/Logout