Weather: A simple script to fetch weather data for a specific location

13 Feb 2025

The script is written in Bash, and it is pretty straightforward. It requires bash, curl, and cut.

Sample output:

Picture of weather.sh script
Weather in Santahar last year.

Usage

Copy the script weather.sh to a location in your $PATH and run

weather.sh location