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