shell脚本的逻辑判断

1.shell脚本的逻辑判断 在shell脚本中,-gt (>); -lt(<); -ge(>=); -le(<=);-eq(==); -ne(!=),&&(与),||(或)。linux 或者用(($a>1))这种方式来表示;shell [root@yuioplvlinux-128 ~]# a=5 [root@yuioplvlinux-128 ~]# if [ $a -gt 3 ];then ec
相关文章
相关标签/搜索