This project contains a collection of useful Bash scripts that can be used for various purposes. Each script is designed to simplify common tasks and enhance productivity in a Bash shell environment.
To use these scripts, simply clone this repository to your local machine:
git clone https://github.com/iamBijoyKar/useful-bash-scripts.git
Once you have cloned the repository, navigate to the project directory and execute the desired script using the Bash shell:
cd useful-bash-scripts
./script-name.sh
- Script: weather
- Get the current weather forecast for a specific location using the OpenWeatherMap API.
- Usage:
./weather.sh <city>
bijoy@BijoyKarPC:/mnt/h/bash-shell/useful-bash-scripts/weather$ ./weather.sh london
The temperature in london is 15.1 degrees Celsius
The temperature in london is 59.2 degrees Fahrenheit
The weather in london is Partly cloudy
It feels like 15.1 degrees Celsius
It feels like 59.2 degrees Fahrenheit
. .. .
..::--:: :-:.
:.=%%%#*%@@@@*
.:.*%%@@@@@@@@@+
:.=%@@@@@@@@@@@#
+@@@@@@@@@@@@*
.::::::::::.
View the README for more information.
Contributions are welcome! If you have any useful Bash scripts that you would like to add to this project, please follow these steps:
- Fork the repository.
- Create a new branch.
- Add your script to the appropriate directory.
- Commit your changes.
- Push your branch to your forked repository.
- Open a pull request.
This project is licensed under the MIT License.