Posted in Command Line, Linux Compare contents of two files Binny V A June 23, 2008 Leave a Comment on Compare contents of two files Compare contents of two files by deleting only unique lines from ‘file1’ comm -1 file1 file2 Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.