Friday, February 24, 2017

How to show weather info on command line Lubuntu

lubuntu logo

While you are working on the command line, you can show weather information for any place that you wish to see, there is a program on the command line that can do that, in this article i will show you how to show weather info on command line of lubuntu.

There is a program called 'ansiweather', this program allows you to see weather information or forecast on any place that you specified, you can install 'ansiweather' with this command:
sudo apt-get ansiweather
By default if you run 'ansiweather' without any parameter you will get weather information from place called 'Rzeszow'. You can specified the location you wish to see, by adding -l parameter followed by the name of the location (could be country, city).
ansiweather -l [the-location]
ansiweather -l singapore
ansiweather -l manhattan
ansiweather on lubuntu

To show weather forecast for the next 5 days, simply add -F parameter like this:
ansiweather -l manhattan -F
For other options, you can take a look at the manual page of 'ansiweather'.

No comments:

Post a Comment