A little guide on how to use my own utility, the Bash Scripting Utility.
Downloading it:
- Install git using your favourite package manager. (e.g: pacman -S git)
- Run: git clone https://github.com/0xBooper/BashScriptingUtility.git
Installing it:
- Run this (may need sudo priviledges): bash install.sh
Usage
Remember that this can be seen by running: bashutil -h
A basic usage of the utility: bashutil -d ~/foo -f bar
-d means the directory of the script.
-f means the filename of the script.
A usage containing the shebang select option: bashutil -s -d ~/foo -f bar
-d and -f mean the same.
-s tells the utility to select a shebang. It will prompt you before script creation.
Options (taken from bashutil -h):
- -h: Shows the help screen
- -v: Shows current version of the installed utility.
- -f: The filename of the script. For an example look above.
- -d: The directory location of the script. For an example look above.
- -s: Provides a startup prompt asking which shebang to use. For an example look above. If -s isn't specified, it defaults to /bin/bash
Made on May 1. Modified May 12, 2021