1
我有多個bash腳本來在多個目錄中彈出Jboss實例。這些腳本接受參數使用單個bash腳本在diff目錄中執行多個bash腳本
start |停止|重新加載|狀態|重新開始。
/opt/xyz/x/X_FE.sh
/opt/xyz/x/X_BE.sh
/opt/xyz/y/Y_FE.sh
/opt/xyz/y/Y_BE.sh
/opt/xyz/z/Z_BE.sh
我希望有它接受相同參數的單bash腳本,並執行所有上述5個腳本。
/opt/singlescript.sh start ---- must execute all the 5 scripts with start argument.
任何幫助將不勝感激。
非常感謝。有效。 – Jithin