comm compares two sorted files and prints three columns: lines only in the first, only in the second, and in both. The -13 flag suppresses the first two columns so only lines unique to b.txt remain. The reverse filter comm -23 shows lines only in a.txt.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.