当前位置: > shell编程 >

shell 中的不相等怎么表达?大于、小于又怎么表达?

时间:2016-05-26 00:33来源:linux.it.net.cn 作者:IT
都是英文缩写,知道英文含义就很好记。

不相等 -ne    (not equal)

大于 -gt       (greater than)

小于 -lt      (less than)

大于或等于 -ge      (greater than or equal)

小于或等于 -le        (less than or equal)



(责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容