#!/bin/bash
awk '{a[$2]++}END{for (i in a){if (a[i]>1) {print a[i],i}}}' nowcoder.txt | sort -k 1