Linux學習3之shell的if大小比對使用

if的大小比對:html #!/bin/sh a=10 b=20 if [ $a == $b ] then echo "a is equal to b" elif [ $a -gt $b ] then echo "a is greater than b" elif [ $a -lt $b ] then echo "a is less than b" else echo
相關文章
相關標籤/搜索