http://blog.sina.com.cn/s/blog_5dce657a01012ddi.html 或者 https://blog.csdn.net/gongmf/article/details/49679155 e.g. cat example.txt | sort | uniq -c | sort -k1,1nr | head -10