shell脚本中的等于和不等于 2022-10-02 12:35:25 shell中’等于’和’不等于’不能用’=‘或者’!=’例如判断 a时候等于a 和a是否等于b 正确的代码如下a -eq a和a -ne b