It’s be convenient to be able to retrieve the latest weather forecast right from your terminal without opening up a web browser, wouldn’t it? What about scripting it or setting a cron job? Well, you can.
http://wttr.in
is a website that allows you to search for weather forecasts anywhere in the world, and it displays he results in ASCII characters. By using cURL
, you can access http://wttr.in
, you can get your results directly in the terminal.
This is a companion discussion topic for the original entry at https://linuxconfig.org/get-your-weather-forecast-from-the-linux-cli/