P. 1
Shell Programming

Shell Programming

|Views: 70|Likes:
Published by ravibtlit

More info:

Published by: ravibtlit on Aug 27, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

01/30/2012

pdf

text

original

Conditionals let us decide whether to perform an action or not, this
Conditionals let us decide whether to perform an action or not, this

decision is taken by evaluating an expression. The most basic form is:
decision is taken by evaluating an expression. The most basic form is:

±±ifif[[expression
expression];
];

then
then

statements
statements

elif
elif[[expression
expression];
];

then
then

statements
statements

else
else

statements
statements

fi
fi

±±the

the elif (else if)
elif (else if)and

and else

elsesections are optional
sections are optional

26

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->