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
相關文章
相關標籤/搜索