Help for this page

Select Code to Download


  1. or download this
      $ sort file1 > file1.sorted
      $ sort file2 > file2.sorted
      $ comm -12 file1.sorted file2.sorted
    
  2. or download this
      $ comm -12 <(sort file1) <(sort file2)