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