1. Technology
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

You can opt-out at any time. Please refer to our privacy policy for contact information.

Discuss in my forum

©2014 About.com. All rights reserved.