banner
Sep 28, 2011
275 Views
0 0

if condition

Written by

if condition which is used for decision making in shell script, If given condition is true then command1 is executed.
Syntax:

 if condition 
 then 
 command1 if condition is true or if exit status of condition is 0 (zero) 
 ... 
 ... 
 fi


Article Categories:
Loops

Leave a Reply

Your email address will not be published. Required fields are marked *