---

Bash Case Statement with Examples

Bash case statements can be used to replace multi-level if??? else statement. You can use the case statement to match one variable against several values. The bash case statement is similar to switch statement in C programming but bash switch statement does not go ahead one it’s found.