#! /bin/bash for i in {1..10}; do # {1..10} expands to "1 2 3 4 5 6 7 8 9 10" echo $i done
This outputs the following:
1 2 3 4 5 6 7 8 8 10