Shell Scripting Question:

How does a case statement look in shell scripts?

Tweet Share WhatsApp

Answer:

case {variable} in {possible-value-1}) {statement};; {possible-value-2}) {statement};; esac

Download Shell Scripting PDF Read All 30 Shell Scripting Questions
Previous QuestionNext Question
How do you read keyboard input in shell scripts?How do you write a while loop in shell?