Shell脚本之case语句 没有对比,就没有伤害,先来看一下使用else if有多麻烦[root@foundation8 test]# cat if_complex.sh #!/bin/bash#looking for a possible valueif [ $USER = "student" ];then echo "Welcome $USER" echo "Please enjoy y shell脚本 2023-09-14 146 点赞 2 评论 221 浏览