shell 裡的case用法: 語法: #!/bin/bash case$1in 選項1) 要執行的命令 ;; 選項2) 要執行的命令 ;; esac. 舉例: .寫一個指令碼/root/case.sh, ...
確定! 回上一頁