This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| bash [2025/05/05 01:25] – ken | bash [2026/07/07 23:13] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| === Linux bash/shell scripting === | === Linux bash/shell scripting === | ||
| == Commands: Syntax and examples help == | == Commands: Syntax and examples help == | ||
| + | [[comm|comm - Compare 2 files]]\\ | ||
| [[grep]]\\ | [[grep]]\\ | ||
| - | [[comm]]\\ | + | [[wget]]\\ |
| + | [[tar]]\\ | ||
| + | [[date]]\\ | ||
| + | [[sed]]\\ | ||
| + | \\ | ||
| + | [[path]] | ||
| \\ | \\ | ||
| == How to == | == How to == | ||
| - | [[get rhel version|Get the installed version | + | [[get rhel version|Get the installed version |
| - | [[Compare bash arrays]] | + | [[version locking|How to version lock a package/s [RHEL]]]\\ |
| + | [[remove version lock pkg|Install/ | ||
| + | [[Compare bash arrays]]\\ | ||
| [[is number odd or even|Determine if a number odd or even]]\\ | [[is number odd or even|Determine if a number odd or even]]\\ | ||
| [[incrementing bash vars|Incrementing & Decrementing bash variables]]\\ | [[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 == | == Functions == | ||
| [[get boot type|Function to determine the boot type (UEFI or BIOS) [RHEL]]]\\ | [[get boot type|Function to determine the boot type (UEFI or BIOS) [RHEL]]]\\ | ||
| [[validate a url|Function to validate a url]]\\ | [[validate a url|Function to validate a url]]\\ | ||
| + | |||
| + | [[error messages|How to write error messages]] | ||