摘要: 流程控制 语法格式 if 条件 then 执行动作 else 执行动作 fi 案例 [root@SR ~]# vim if_test.sh #!/bin/bash if ls /root &> /dev/null! then echo "hello world" else echo "error" 阅读全文
posted @ 2020-05-27 09:34 SR丶 阅读(131) 评论(0) 推荐(0) 编辑