Friday, January 27, 2017

How to check the weather from Linux Terminal


Open a terminal and type the command:


curl http://wttr.in/your_city



example :   curl http://wttr.in/karditsa

How to reboot or shutdown from Linux Terminal


Open a terminal (Ctrl + Alt + T or super key + T) and type the following commands:


shutdown -h now     (to shutdown right now)


shutdown -r now      (to reboot)