#! /bin/bash
 
 cat nowcoder.txt | grep "tcp" | awk '{print $NF}' |
 sort | uniq -c | sort -nk 1 -r | awk '{print $2" "$1}'