去重排序
示例1
cat test | uniq -cd | sort
示例2
lsof | awk '{print $2}' | grep -v PID | sort |uniq -c | sort -k1n | tail -n 10
cat test | uniq -cd | sort
lsof | awk '{print $2}' | grep -v PID | sort |uniq -c | sort -k1n | tail -n 10