LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: Bash Case Statement with Examples (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-bash-case-statement-with-examples-4175655536/)

LXer 06-11-2019 04:52 PM

LXer: Bash Case Statement with Examples
 
Published at LXer:

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.

Read More...


All times are GMT -5. The time now is 01:16 AM.