特牛生活网

shell 脚本编程 四:流程控制-CSDN博客

网友收藏
文章浏览阅读117次。一、if1、if-then 语句if commandthen commandsfi2、if-then-else 语句if commandthen commandselse commandsfi3、嵌套 ifif command1then commandselif command2then more commandsfi二、casecase 命令会采用列表格式来检查单个变量的多个值。case variable in