mirror of
https://github.com/dunwu/linux-tutorial.git
synced 2024-04-15 19:55:24 +08:00
9 lines
116 B
Bash
9 lines
116 B
Bash
#!/bin/bash
|
|
|
|
#testing the C-style for loop
|
|
|
|
for (( i = 1; i <= 10; i ++ ))
|
|
do
|
|
echo "The next number is $i"
|
|
done
|