码迷,mamicode.com
首页 > 系统相关 > 详细

linux-统计文件中相同行的数量

时间:2017-05-12 20:29:12      阅读:458      评论:0      收藏:0      [点我收藏+]

标签:src   .com   sort   nbsp   ges   linu   com   str   分享   

cat sorttest | sort | uniq -c

技术分享

 

 sorttest文件内容如下

技术分享

 

linux-统计文件中相同行的数量

标签:src   .com   sort   nbsp   ges   linu   com   str   分享   

原文地址:http://www.cnblogs.com/DengGao/p/sort_uniq.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!