1:2: if [ expression ];then3: statement4: else5: statement6: fi7:8: 或者9:10: if [ expression ];then11: statement;12: elif [ expression ];then13: statement;14: elif [ expression ];then15: statement;16: else17: statement18: fi
原文:https://www.cnblogs.com/cyj1258/p/12260339.html