備注:發現執行是錯誤的,經過查看可以知道,shell腳本中不是else if而是elif這個寫法. 3.修改腳本. #!/bin/bash if [[ $1 = 'tomcat' ]]; then echo ...
確定! 回上一頁