Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#cli #linux #snippet
# find lines only in file1
comm -23 file1 file2
# find lines only in file2
comm -13 file1 file2
# find lines common to both files
comm -12 file1 file2
https://stackoverflow.com/a/26619069/544721
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.