=== Linux bash/shell scripting === == Commands: Syntax and examples help == [[comm|comm - Compare 2 files]]\\ [[grep]]\\ [[wget]]\\ [[tar]]\\ [[date]]\\ [[sed]]\\ \\ [[path]] \\ == How to == [[get rhel version|Get the installed version [RHEL]]]\\ [[version locking|How to version lock a package/s [RHEL]]]\\ [[remove version lock pkg|Install/Remove the DNF version lock plugin [RHEL]]]\\ [[Compare bash arrays]]\\ [[is number odd or even|Determine if a number odd or even]]\\ [[incrementing bash vars|Incrementing & Decrementing bash variables]]\\ [[add a timeout|Add a timeout to scripts]]\\ [[get last n chars|Get the last n characters from variable]]\\ [[shell redirection]]\\ \\ == Functions == [[get boot type|Function to determine the boot type (UEFI or BIOS) [RHEL]]]\\ [[validate a url|Function to validate a url]]\\ [[error messages|How to write error messages]]