Show common and unique lines between two sorted files.
Section: Compare and Combine
Compare sorted line sets
bash
bash
comm file1.sorted file2.sortedLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Compare and Combine