Text processing
comm
Compares two sorted files line by line.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Verified: 2025-10-08
Syntax
$comm [OPTIONEN] DATEI1 DATEI2
Examples
$comm datei1.txt datei2.txt
$comm -12 datei1.txt datei2.txt
Typical use cases
?
Standard usage
comm --help
Note
Displays lines that are only in FILE1, only in FILE2, or in both.
Export