#Just use command seq to iterate a range from start to end
END=10
for i in $(seq 1 $END); do echo $i; done
#!/bin/bash
for i in {0..100};
do
echo "hello"
sleep 5s
done
# Brace Expansion
for i in {1..10}; do echo $i; done
#!/bin/bash
START=1
END=5
for i in $(eval echo "{$START..$END}")
do
echo "$i"
done