You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: command2, command3, x=5 and echo will execute if command1 is success else they will skip
============================================
simple if else statement:
------------------------
if command1
then
command2
command3
else
command4
command5
fi
Note: command2, command3 (lines between then and else) will execute if command1 is success else (command1 is failed) command4, command4 (lines between else and fi )will execute.