文章分类 - Shell
摘要:#!/bin/bashfor i in `cat b`doping=`ping -c 1 $i|grep loss|awk '{print $6}'|awk -F "%" '{print $1}'`if [ $ping -eq 100 ];thenecho ping $i failelseecho
阅读全文
摘要:务必使用这样的方式运行 ./look.sh >tt cat look.sh#!/bin/bash nslookup<<EOFserver 172.16.5.53spi-uat.chinare.com.cnactuary.chinarelife.cnactuary-uat.chinarelife.cn
阅读全文

浙公网安备 33010602011771号