You are viewing a single comment's thread. Return to all comments →
Practice with while loop
i=1 while [ $i -lt 100 ] do if [ `expr $i % 2` -ne 0 ]; then echo $i fi; i=`expr $i + 1` done
Seems like cookies are disabled on this browser, please enable them to open this website
Looping and Skipping
You are viewing a single comment's thread. Return to all comments →
Practice with while loop