comm
Unix-like operating system command
The comm command in the Unix family of computer operating systems is a utility that is used to compare two files for common and distinct lines. comm is specified in the POSIX standard. It has been widely available on Unix-like operating systems... Wikipedia
Example: comm -12 file1 file2
Syntax: comm -123 FILE1 FILE2