2021年3月4日

centos7 集群整体操作脚本

摘要: 1、在/root/bin目录创建脚本xcall.sh 2、脚本本周编写内容 [root@wd ~]# vi xcall.sh !/bin/bash for i in wd1 wd2 wd3 do echo $i ssh $i "$*" done 3、修改脚本执行权限 [root@wd1 bin]# 阅读全文

posted @ 2021-03-04 15:51 uestc2007 阅读(145) 评论(0) 推荐(0) 编辑

导航