Using For Loop to List Iterate Over Numbers

suggest change
#! /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

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents