Shell Scripting Question:
How does a case statement look in shell scripts?
Answer:
case {variable} in {possible-value-1}) {statement};; {possible-value-2}) {statement};; esac
Previous Question | Next Question |
How do you read keyboard input in shell scripts? | How do you write a while loop in shell? |