Case statement

case $var in
  one) echo "hello" ;;
  two) echo "world" ;;
esac

Last updated