part_35:shell 之 case語句

case語句 示例 1 [[email protected] test]# cat case.sh #!/bin/bash case $1 in student|limin|westos) echo "Welcome,$1" ;; *) echo "Sorry!" ;; esac [[email protected] test]# sh case.sh
相關文章
相關標籤/搜索