sort file.txt | uniq -d