shell脚本中大于,大于等于,小于,小于等于、不等于的表示方法

shell脚本中大于,大于等于,小于,小于等于、不等于的表示方法

shell中大于,大于等于,小于等于,lt,gt ,ne,ge,le 很对应。

应对方法:

大于 -gt (greater than) 
小于 -lt (less than) 
大于或等于 -ge (greater than or equal) 
小于或等于 -le (less than or equal) 
不相等 -ne (not equal)

posted on 2019-01-08 22:02  Areon  阅读(1846)  评论(0)    收藏  举报

导航