cmp(1) minix man page | unix.com

Man Page: cmp

Operating Environment: minix

Section: 1

CMP(1)							      General Commands Manual							    CMP(1)

NAME
cmp - compare two files
SYNOPSIS
cmp [-ls] file1 file2
OPTIONS
-l Loud mode. Print bytes that differ (in octal) -s Silent mode. Print nothing, just return exit status
EXAMPLES
cmp file1 file2 # Tell whether the files are the same cmp -l file1 file2 # Print all corresponding bytes that differ
DESCRIPTION
Two files are compared. If they are identical, exit status 0 is returned. If they differ, exit status 1 is returned. If the files cannot be opened, exit status 2 is returned. If one of the file arguments is -, then stdin is compared to the other file.
SEE ALSO
comm(1), diff(1). CMP(1)
Related Man Pages
bzdiff(1) - opensolaris
cmp(1) - redhat
bzcmp(1) - sunos
zcmp(1) - plan9
zcmp(1) - xfree86
Similar Topics in the Unix Linux Community
TTL field???
Using AIX HACMP and NFS together
AIX 6.1 and NFS problem after HACMP config
Increase LUN size in AIX with VIOS and HACMP
Clstat not working in a HACMP 7.1.3 cluster