摘要: ip a |grep /26 |cut -b10- | cut -d / -f 1 阅读全文
posted @ 2017-03-30 11:23 tengfei520 阅读(135) 评论(0) 推荐(0) 编辑
摘要: for h in `cat ok.txt`; do ssh $h 'for u in `ml all`; do rsync -aP /root/init_ldap_centos.sh $u:/root/ && ssh $u "bash /root/init_ldap_centos.sh"; done 阅读全文
posted @ 2017-03-30 10:38 tengfei520 阅读(100) 评论(0) 推荐(0) 编辑