A collection of functions to make scripting in bash easier.
You either download the script to your computer, then source it from there:
source /path/to/utils.sh
Or source it using curl
and the raw link from this GitHub repository:
source <(curl -Ls "https://raw.githubusercontent.com/Noam-Alum/utils.sh/main/utils.sh")
Note that by using curl each time the script runs you'd have to wait for a response with the functions.
- You can use a version that includes only the functions -
utils-min.sh
.
Simple example of usage:
Click here to view more examples:
Tip
Click here for documentation.