#!/bin/bash
# Basic while loop
counter=1
while [ $counter -le 43 ]
do
curl http://alessonislearned.com/cmx/lesson0$counter.gif > lesson0$counter.gif
wait
((counter++))
done
echo All done
