linux shell脚本查找重复行/查找非重复行/去除重复行/重复行统计

去除重复行 
sort file |uniq

查找非重复行 
sort file |uniq -u

查找重复行 
sort file |uniq -d

统计 
sort file | uniq -c

 

 

https://blog.csdn.net/pingd/article/details/78742471

    原文作者:hkNaruto
    原文地址: https://blog.csdn.net/hknaruto/article/details/89329802
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞