会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
南风
目标的坚定是性格中最必要的力量源泉之一,也是成功的利器之一。没有它,天才会在矛盾无定的迷径中徒劳无功。
博客园
首页
新随笔
联系
订阅
管理
2019年2月15日
写一个脚本把某个脚本或文件同时执行多台机器
摘要: 首先安装好expoect,yum -y install expect #!/bin/bash for i in 192.168.30.{22..23} do /usr/bin/expect <<-EOF spawn scp /root/99.sh root@$i:/root expect { “ye
阅读全文
posted @ 2019-02-15 18:13 #赵程#
阅读(584)
评论(0)
推荐(0)
编辑
公告