标签:shell
!/bin/bash
#vim ip.txt server ip
ip_array=$(cat /tmp/ip.txt)
for ip in ${ip_array[*]}
do
scp -P6122 /tmp/test.sh root@$ip:/tmp/
done本文出自 “汜水流年_” 博客,请务必保留此出处http://timefiles.blog.51cto.com/8475652/1884167
标签:shell
原文地址:http://timefiles.blog.51cto.com/8475652/1884167