Shell Scripting Bash Functions, Arrays, getopts and trap: Practical Guide Asif Khan | November 4, 2026 | 21 min read Bash functions, arrays, getopts, trap, regex and parameter expansion explained with tested Ubuntu and RHEL examples, plus one small script that uses them all. Continue Reading →