shell--流程控制
摘要:
if else-if else语法格式: if condition1 then command1 elif condition2 then command2 else commandN fi 注:格式类似于Python,末尾加fi for循环格式: for var in item1 item2 .. 阅读全文
posted @ 2016-07-21 10:23 Lsec 阅读(114) 评论(0) 推荐(0) 编辑
posted @ 2016-07-21 10:23 Lsec 阅读(114) 评论(0) 推荐(0) 编辑
posted @ 2016-07-21 09:23 Lsec 阅读(156) 评论(0) 推荐(0) 编辑