#!/bin/bash cat nowcoder.txt| grep tcp| awk '{print $5}'| awk -F':' '{print $1}'| sort| uniq -c| sort -nr| awk '{print $2" "$1}'