for i in hadoop101 hadoop102 hadoop103 do echo --------- $i ---------- ssh $i "source /etc/profile && $*" done
本文标题:指定命令群用
本文链接:https://www.haomeiwen.com/subject/odeeyqtx.html
网友评论