62

Linux uniq命令使用简介-12666522-51CTO博客

 6 years ago
source link: http://blog.51cto.com/12676522/2066754
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
uniq命令用于报告或忽略文件中的重复行,一般与sort命令结合使用。语法uniq(选项)(参数)选项-c或——count:在每列旁边显示该行重复出现的次数;-d或--repeated:仅显示重复出现的行列;-f<栏位>或--skip-fields=<栏位>:忽略比较指定的栏位;-s<字符位置>或--skip-chars=<字符位置>:忽略比较

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK