摘要: if-then if command then commands fi bash shell中的if语句运行在if行定义的命令. 如果命令突出状态时0, 将执行then后面的命令. 如果命令的退出状态时0以外的其他值,那么then后面的命令将不会执行.#!/bin/bash # testing th 阅读全文
posted @ 2020-05-22 16:25 小小小光子 阅读(276) 评论(0) 推荐(0)