P. 1
UNIX Basics

UNIX Basics

1.0

|Views: 454|Likes:
Published by sreenivasdw

More info:

Categories:Types, Brochures
Published by: sreenivasdw on Feb 07, 2010
Copyright:Attribution Non-commercial

Availability:

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

07/12/2013

pdf

text

original

If-then

If _expr_ then
_cmd(s)_
elif _expr_
_cmd(s)_

else

_cmd(s)_

fi

Flow control statements contd.

case

case _word_ in
_pattern1_) _cmd(s)_;;
_pattern2_) _cmd(s)_;;
*) break;;

esac

Flow control statements contd.

while

while _expr_
do

_cmd(s)_

done

Flow control statements contd.

for

for _variable_ in _list_
do

_cmd(s)_

done

Flow control statements contd.

until

until _expr_
do

_cmd(s)_

done

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)//-->