shell基本語法(一)

1.數值運算符expershell 在使用exper時等號兩端不能有空格數組 2.shell中的判斷式及控制流程語句bash 條件判斷命令test n -參數 n  返回值0爲真   返回值1爲假函數 整數測試參數測試 -lt  小於spa -gt 大於索引 -le小於等於test -ge大於等於變量 -eq等於循環 -ne  不等於 注意  test語句  能夠[  ]的形式代替  可是中括號兩
相關文章
相關標籤/搜索