bash for interval

Shell
for i in $(seq 1 $END); do echo $i; done
Source

Also in Shell: