Get weather information on Terminal
Anurag Rana
Posted on July 10, 2019
You can get weather information of your area in your terminal.
You need to send a curl request on URL wttr.in/$1?m1
curl -s "wttr.in/$1?m1"
You can add this to your .bashrc file as a command.
weather(){ curl -s "wttr.in/$1?m1"}
To get the information of 3 days: curl -s "wttr.in"
More from Author:
💖 💪 🙅 🚩
Anurag Rana
Posted on July 10, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
symfony Symfony Station Communiqué - 29 November 2024. A look at Symfony, Drupal, PHP, and programming news!
November 30, 2024
programming 🚀 Your First Java Project in IntelliJ IDEA: Creating a "Hello World" in Java 🚀
November 30, 2024