摘要: 这章我们来学习下流程控制,简单来说就是逻辑判断和循环的写法。并不复杂,我们来简单地看下。 1、if语句 shell的if语句有两种写法,一种是shell脚本式的,一种是命令式的。 if condition then command1 command2 ... commandN fi 命令式,是这样的 阅读全文
posted @ 2022-03-21 16:03 Zaking 阅读(254) 评论(0) 推荐(0) 编辑