摘要: [yunwei@Y24-209 ~]$cat ls.sh #!/bin/bash ip55=`cat ip1` for i in $ip55;do ping -c 1 $i if [ $? -eq 0 ];then ssh -t $i "ls" if [ $? -eq 0 ];then echo -e "$i" >> ok.ip else ... 阅读全文
posted @ 2019-04-12 13:12 lixinliang 阅读(696) 评论(0) 推荐(0) 编辑