Link to home
Start Free TrialLog in
Avatar of saibsk
saibsk

asked on

nested ifs in korn shell scripting

I want to write nested if statement in korn Shell script

if
then
----
elif
then
----
within the elif I want to write another if statement

else

---
fi

Please advise.
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To clarify ozo's code block.  You don't need to do anything special.  You can nest if's just as in other languages.