Tag: uniq

Find Duplicate Lines

Sort contents of two files by viewing only duplicate line sort file1 file2 | uniq -d

Sort and Unique

Sort contents of a file and remove repeated lines sort file.txt | uniq