向shell腳本中傳入參數

寫一個 程序名爲    test.sh    可帶參數爲 start 和 stop 執行  test.sh start 執行  start 內容的代碼 執行 test.sh stop 執行 stop 內容的代碼 #!/bin/bash if [ $1 == "start" ]   then      echo "do start"   command groups   elif [ $1 == "
相關文章
相關標籤/搜索