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