For the complete documentation index, see llms.txt. This page is also available as Markdown.

Case statement

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

Last updated