去除重复行
sort file |uniq
查找非重复行
sort file |uniq -u
查找重复行
sort file |uniq -d
统计
sort file | uniq -c
去除重复行
sort file |uniq
查找非重复行
sort file |uniq -u
查找重复行
sort file |uniq -d
统计
sort file | uniq -c
转载于:https://www.cnblogs.com/shansongxian/p/10156716.html