comm

compare two sorted files line by line

copy
1
0
comm -3

source | details |

copy
1
0
comm -12 file1 file2

source | details |