Shell Scripting Question:
What’s a way to do multilevel if-else’s in shell scripting?

Answer:
if {condition} then {statement} elif {condition} {statement} fi
Previous Question | Next Question |
How do you find out the number of arguments passed to the shell script? | How do you write a for loop in shell? |