d
Amit DhamuSoftware Engineer
 

Bash - For Loop With Range

1 minute read 00000 views

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