首页 > 系统服务 > 详细

linux uniq 命令

时间:2018-10-19 23:26:06      阅读:145      评论:0      收藏:0      [点我收藏+]

 

uniq 

报告或删除重复文件中的行

 

-c 在输出行前面加上每行在输入文件中的次数

 

[root@cdncenter ~]# find . -name *.txt |sort -n|uniq -c
      1 ./1.txt
      1 ./2.txt
      1 ./3.txt

 

linux uniq 命令

原文:https://www.cnblogs.com/mingerlcm/p/7799655.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!