Bash Case Statement with Examples

Posted by LinuxWave on Jun 11, 2019 5:50 PM EDT; By Linux4one
Mail this story
Print this story

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.

Full Story

» Read more about: Story Type: Tutorial; Groups: Linux, Ubuntu

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.