Step 1/1: Compare two sorted lists

comm compares two sorted files in three columns: only in the first, only in the second, in both. -1, -2, -3 hide columns; comm -12 shows only the common lines.

$ comm -12 a.txt b.txt
Advancedcomm
Only in the second list
a.txt and b.txt are sorted. Use comm to print only the lines that are in b.txt but not in a.txt.
joinNext lesson:cmp