Linux脚本(shell)编程(六) 循环
2011-02-21 20:24
531 查看
while循环
for循环,特别注意i的用法
循环中,是有结束循环的语句,break的
while [ condition ] do 程序段落 done
for循环,特别注意i的用法
for (( i=1 ;i<=5 ; i=i+1)) do 执行的程序 done
循环中,是有结束循环的语句,break的
相关文章推荐
- linux之基础shell脚本编程2 if语句循环判断
- 8.17_Linux之bash shell脚本编程入门篇(三)之循环以及函数function的使用
- Linux脚本(shell)编程(六) 循环
- Linux脚本(shell)编程(二) 基本语法
- Linux学习(八):shell脚本编程
- Linux系统shell脚本编程(六)
- Linux 的shell脚本基础编程总结
- Linux-Shell脚本编程-学习-8-函数
- shell脚本编程-循环
- Linux下的shell脚本编程(一)
- 8.15_Linux之bash shell脚本编程入门篇(二)以及文件查找和压缩的使用
- linux运维初级班shell脚本编程测试及参考答案
- Shell脚本编程之While循环
- Linux-Shell脚本编程-学习-2-Linux基本命令
- Shell脚本编程学习入门 02 分类: arm-linux-Ubuntu 2013-08-30 17:45 427人阅读 评论(0) 收藏
- *Linux Shell 高级编程技巧4----几个常用的shell脚本例子
- Linux-Shell脚本编程-学习-5-Shell编程-使用结构化命令-if-then-else-elif
- linux之基础shell脚本编程1 基础变量赋值
- centos shell脚本编程2 if 判断 case判断 shell脚本中的循环 for while shell中的函数 break continue 第三十六节课
- 【Linux命令行与shell脚本编程】教程二——学会查找帮助信息