Just felt like sharing this very nice and simple trick that you can perform in any UNIX-type command line system. Let’s say you’re remotely connected to a headless server and you just want to quickly know what is the weather forecast for the next few days. Simply type “curl wttr.in” followed by a slash and your city’s name. So, for example, if I want to know the weather for my own city (Montreal), I just need to type this:
curl wttr.in/Montreal
And then below is the result of what this will look like (click to enlarge):
No worries, this will not install anything on your machine at all. All it does is poking and fetching the information from the wttr.in website and displays the results on the screen. Nothing to install or anything like that.
Pretty cool, huh?