Shell Scripting Question:
Download Questions PDF

How does a case statement look in shell scripts?

Answer:

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

Download Shell Scripting Interview Questions And Answers PDF

Previous QuestionNext Question
How do you read keyboard input in shell scripts?How do you write a while loop in shell?