会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
tengfei520
博客园
首页
新随笔
联系
订阅
管理
2017年3月30日
截取ip 不加引号
摘要: 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)
编辑
公告