linux shell 条件判断if else, if elif else....

在linux的shell中linux   if 语句经过关系运算符判断表达式的真假来决定执行哪一个分支。Shell 有三种 if ... else 语句:shell if ... fi 语句; if ... else ... fi 语句; if ... elif ... else ... fi 语句。 1) if ... else 语句   if ... else 语句的语法: e
相关文章
相关标签/搜索