SLIDE 1
Loops/iteration
- Bash supports a variety of looping constructs, the simplest
being the while loop, e.g. while [ $x -le 5 ] ; do
echo “$x” (( x++ )) done
- Note the use of do/done to delimit the loop body