Fork me on GitHub

shell if条件语句

if [ command ];then
   符合该条件执行的语句
elif [ command ];then
   符合该条件执行的语句
else
   符合该条件执行的语句
fi
posted @ 2020-01-16 16:46  MgicalFool  阅读(122)  评论(0)    收藏  举报