1、uniq -c 标记每行重复数,不重复为1
tail -n
head -n
2、sort -u 去除重复行
-r 降序
重定向sort -r number.txt -o number.txt 不能用>
-n 数值排序
-t 指定间隔符 -k 指定列数