VARIABLE=0 case $VARIABLE in 0) echo Variable is 0 ;; 1) echo Variable is 1 ;; 2) echo Variable is 2 ;; esac