cmp (1)


NAME
SYNOPSIS
DESCRIPTION
OPTIONS
OPERANDS
COPYRIGHT
Source Code

NAME

cmp - compare two files

SYNOPSIS

cmp

[-l|-s] file1 file2

DESCRIPTION

The cmp utility compares two files. If both files are equal, cmp returns with exit code 0. Otherwise it returns with 1 and if the -s options was not specifed cmp prints a message.

OPTIONS

-l

Write the byte number and the differing bytes for each difference.

-s

Suppress the output to standard output and standard error.

OPERANDS

The following operands are be supported:

file1

The pathname for the first file to be compared.

file2

The pathname for the second file to be compared.

COPYRIGHT

Copyright © 2021 Benjamin Stürz
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


Generated using groff on 2022-07-19 01:11:30 (UTC)

Look at my source code on GitHub Memes
This website is licensed under the terms of the AGPLv3.
Tor link: 3gto4zix3cpwhq32sh5ygsr3brlmgy4pdf26md46e4zpzfzmbftw3cyd.onion