2018年8月1日
摘要: sort -u file 消除重复的行 -n 升序,算术排序 -r 逆序 sort -k3n -t: /etc/passwd 以冒号为分隔符,第三个字符进行算术排序 uniq uniq -d file 列出重复的行 uniq -c 统计出现重复行的次数 cat file | sort -n | un 阅读全文
posted @ 2018-08-01 15:56 朱传宝 阅读(114) 评论(0) 推荐(0) 编辑