Shell Scripting Question:

Download Job Interview Questions and Answers PDF

How does a case statement look in shell scripts?

Shell Scripting Interview Question
Shell Scripting Interview Question

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?