sysop@hub:~/cheat-sheets/bash-scripting-cheat-sheet$
bash-scripting-cheat-sheet
For Bash 4 and newer on Linux. macOS ships Bash 3.2, where associative arrays and a few other things are missing. Quote every variable unless you know why not.
sysop@hub:~/cheat-sheets/bash-scripting-cheat-sheet$
For Bash 4 and newer on Linux. macOS ships Bash 3.2, where associative arrays and a few other things are missing. Quote every variable unless you know why not.