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