linux case語句

基本語法 case $變量名 in 「值1」) 程序 ;; 「值2」) 程序 ;; *) 程序 ;; esac 注意: case行尾必須爲in ,每一個模式都要有) ;;表示命令結束,相當於java的break
相關文章
相關標籤/搜索