会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
局域网外
博客园
首页
新随笔
联系
管理
订阅
2021年7月3日
Shell 流程控制
摘要: while 语句 while 循环用于不断执行一系列命令,也用于从输入文件中读取数据。其语法格式为: 实例: #!/bin/bash int=1 while(( $int<=5 )) do echo $int let "int++" done 运行脚本,输出: 1 2 3 4 5 if else-i
阅读全文
posted @ 2021-07-03 09:37 局域网外
阅读(34)
评论(0)
推荐(0)
编辑
公告