shell编程题(三十一) 题目: 查看当前连接SYN的IP数 答案: netstat -an | grep SYN | awk '{print $5}' | awk -F: '{print $1}' | uniq -c | sort -nr | more 运行结果: