If given condition is true then command1 is executed otherwise command2 is executed. Syntax: if condition then condition is zero (true – 0) execute all commands up to else statement else if condition is not true then execute all commands up to fi fi example of nested if else osch=0 echo “1. Unix (Sun Os)” […]
Categories