##############
### Example 1
##############
# for i in TEST1 TEST2 TEST3 TEST4
> do
> echo $i is here.
> done
Here are the outputs:
>>
TEST1 is here.
TEST2 is here.
TEST3 is here.
TEST4 is here
##############
### Example 2
##############
# for i in {1..10}
> do
> echo $i
> done
Here are the outputs:
>>
1
2
3
4
5
6
7
8
9
10
全站熱搜