Bash: Multi-dimensional Arrays November 10th, 2019 Learn how to simulate a multi-dimensional array in bash using an associate array with clever use of the hash key. Bash 4 only provides one-dimensional indexed and associative array variables.
Shell Script: Convert Hex to Decimal May 15th, 2016 Objective: Convert a number in hexadecimal representation to decimal format in a shell script
Shell Script: Convert Decimal to Hex February 21st, 2016 Objective: Convert a number in decimal representation to hexadecimal format in a shell script.
Unix / Linux: Display Running Clock in Terminal January 10th, 2016 Objective: On a Unix or Linux, display a running clock on the top right hand corner of a shell terminal.
Shell Script: Check Leap Year December 5th, 2015 Objective: Use a shell script to read a year and check whether it is a leap year or not.
Bash: Get Exit Status Values of All Piped Commands August 16th, 2015 Objective: Get the exit status codes of all commands executed in a foreground pipeline (for example ‘command1 | command2 | command3’).
Unix / Linux: Bash Shell Disable History Logging August 2nd, 2015 Objective: Disable command line history logging in bash shell.
Bash: Escape String Variable March 1st, 2015 Objective: Escape or append a ‘\’ to reserved characters (e.g &, \, |, ?, *, etc) found on a string variable in bash.