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