A bunch of short scripts to make life and BASH just a little easier.
Most of these scripts will run just fine on DASH, though many require BASH, and some even the latest BASH. Moreover, many of the scripts require non-standard tools, such as gawk, etc.
Accordingly, to make sure that scripts run flawlessly, be sure to do the following for each script you plan on executing:
-
Check that you have the latest BASH installed (most likely you do).
bash --versionIf it is version 4.0.0 and above, you should be fine.
-
If you attempt to execute the script, but it doesn't run, then review the script & make sure to properly install any missing programs it calls up.
To install, simply move these scripts to a PATH directory, e.g. /HOME/.local/bin.
These scripts can be executed in either of two ways:
-
Go to the scripts directory & execute:
./SCRIPT_NAME.sh -
If you have moved the scripts to a PATH directory, then just type out the name of the script you want to run, and execute it. E.G.
sqsh_connections.sh
Report any errors on the https://www.github.com/DeadDork/scripts Issues page. I will be sure to address them ASAP.
Enjoy!