原创 shell編程--if語句

if判斷數值大小 格式1:if 條件 ; then 語句; fi腳本if1.sh [root@lynn-04 shell]# vim if1.sh #!/bin/bash a=5 if [ $a -gt 3 ] then