in reply to Reconcile one list against another
and if you want accounts present in both, use comm -12 insteadawk '{print $2}' < file1.txt | sort -u > file1.sor awk '{print $2}' < file2.txt | sort -u > file2.sor comm -13 file1.sor file2.sor > onlyIn2.sor comm -23 file1.sor file2.sor > onlyIn1.sor
One world, one people
|
|---|