Note that the
")" symbol is used to separate the list of selections from the action to be taken. Fall through is done using *, which catches all input that has not been specificed previously. Also
;; acts as a case break.
Note that the statement is started with “case” and closed with “esac”
#!/bin/bash case "$1" in this) echo "this" ;; that) echo "that" ;; *) echo "Type this or that" esac