Shell Scripting Tutorial-37: The ‘case’ Statement
59.3K views on YouTube
In this tutorial you’ll learn to use the ‘case’ statement to make decisions. ‘case’ can sometimes be a better option than the other selection statements such as ‘if-else’, particularly when the input or decision variable in the script can take any value from a large range of values.