ifshell中if的用法 0x01 if的基本语法: if [ command ];then 符合该条件执行的语句 elif [ command ];then 符合该条件执行的语句 else 符合该条件执行的语句 fi 0x02 文件/文件夹(目录)判断 [ -b FILE ] 如果 ... huahua 5年前 (2018-03-06) 1611℃ 2喜欢