摘要:
file=/port.txt #里面每个端口号占一行 cat $file | while read port do num=`netstat -ano | grep $port | wc -l` #统计端口的连接数 , 注意等号两边不能有空格(赋值不能有空格) ,那是反单引号(tab键上面那个有波浪 阅读全文
posted @ 2017-11-07 10:59
豪迈的清汤水水
阅读(281)
评论(0)
推荐(0)

浙公网安备 33010602011771号