Instantly share code, notes, and snippets.
比较2个文件内容的不同行数
sort file1 file2 | uniq -u > file3
查找文件中的重复行
cat file | sort | uniq -d