shell腳本編寫比較兩個數的大小

當心if []  先後都有空格bash 代碼權限 echo "Please enter your number" read $j read $k if [ $j -le $k ] then echo "j<k" else echo "j>k" fi 而後:wq 而後修改權限chmod +x bash 而後./bash 3(按enter) 5
相關文章
相關標籤/搜索