摘要: Shell 循环控制语句 1、if格式 a、脚本格式 b、命令行格式: 2、if else 3、if elif else 4、for循环; a、脚本格式: b、命令行格式: 5、while循环 while循环用于不断循环执行以系列命令,也用于从输入文件中读取数据,命令通常为测试条件; a、while 阅读全文
posted @ 2019-09-10 15:11 小菜鸡1枚 阅读(434) 评论(0) 推荐(0) 编辑