linux学习之uniq

uniq最经常用的是统计次数,通常先排序,然后uniq  -c

 

 

cat a.txt |sort -nr  |uniq  -c

 

posted @ 2019-02-01 13:34  bioamin  阅读(167)  评论(0)    收藏  举报