Find Duplicate Lines

Tagged with: , , , , ,

Sort contents of two files by viewing only duplicate line


sort file1 file2 | uniq -d

One Response to “Find Duplicate Lines

  • 1
    Dean Kamali
    February 8th, 2012 03:24

    helped alot, I was trying to see if each of my generated csv files are uniq and it doesn’t contains duplicate content before importing them to archive database.

    Thank you

Leave a Reply