学习笔记(11):Kali Linux渗透测试全程课与脚本语言编程系列课程-if条件判断

立即学习:https://edu.csdn.net/course/play/26312/337122?utm_source=blogtoedu

if条件判断语句

a=1

b=2

if  [  $a -eq $b ];then

    echo a=b

elif  [ $a -gt $b ];then

     echo a>b

elif  [ $a -lt $b ];then

     echo a<b

else

     echo  "hehe"

fi

fi 标识if语句执行结束。

发布了22 篇原创文章 · 获赞 0 · 访问量 101

猜你喜欢

转载自blog.csdn.net/qq_42226776/article/details/105679385
今日推荐