1. Home
  2. Computing & Technology
  3. Linux
Linux / Unix Command: comm
Command Library

NAME

comm - compare two sorted files line by line  

SYNOPSIS

comm [OPTION]... LEFT_FILE RIGHT_FILE  

DESCRIPTION

Compare sorted files LEFT_FILE and RIGHT_FILE line by line.

-1
suppress lines unique to left file
-2
suppress lines unique to right file
-3
suppress lines that appear in both files
--help
display this help and exit
--version
output version information and exit
 

SEE ALSO

The full documentation for comm is maintained as a Texinfo manual. If the info and comm programs are properly installed at your site, the command
info comm

should give you access to the complete manual.


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.