⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cmp.1

📁 操作系统设计与实现源码
💻 1
字号:


CMP(1)                    Minix Programmer's 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).

























                                                                             1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -