Do nothing after if, then or else loop in Sell scripting | Do nothing

by rajesh 2014-03-23 13:31:14

To do nothing in a shell scripting after if, then or else we can just use :

e.g
if ()
then
:
else
command
fi


In the above example nothing will happen if the if condition is satisfied.

Tagged in:

503
like
0
dislike
0
mail
flag

You must LOGIN to add comments