zl程序教程

您现在的位置是:首页 >  后端

当前栏目

shell脚本中大于,大于等于,小于,小于等于、不等于的表示方法详解程序员

方法shell程序员 详解 脚本 表示 等于 大于
2023-06-13 09:20:15 时间

症状: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)

记住性对应的英文很容易记住。

原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/6301.html

服务器部署程序员系统优化网站设置运维