cmp man page on Minix

Man page or keyword search:  
man Server   6208 pages
apropos Keyword Search (all sections)
Output format
Minix logo
[printable version]

CMP(1)									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 argu‐
       ments is -, then stdin is compared to the other file.

SEE ALSO
       comm(1), diff(1).

									CMP(1)
[top]

List of man pages available for Minix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net