1、测试1
[root@centos7 test2]# i=0
[root@centos7 test2]# max=5
[root@centos7 test2]# while((i<max));do echo $i;((i++));done
0
1
2
3
4
1、测试1
[root@centos7 test2]# i=0
[root@centos7 test2]# max=5
[root@centos7 test2]# while((i<max));do echo $i;((i++));done
0
1
2
3
4