The following iterates across a sequence from 0 to 50 printing out the current number
for i in $(seq 0 50); do echo $i; done