Find Duplicate Lines
Tagged with: command, duplicate, line, Linux, sort, uniq
Wednesday, May 21st, 2008 11:05 PM
Sort contents of two files by viewing only duplicate line
sort file1 file2 | uniq -d
Sort contents of two files by viewing only duplicate line
sort file1 file2 | uniq -d
Sort contents of a file and remove repeated lines
sort file.txt | uniq