📄 cmp.1
字号:
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33..TH CMP "1" "April 2004" "diffutils 2.8.7" "User Commands".SH NAMEcmp \- compare two files byte by byte.SH SYNOPSIS.B cmp[\fIOPTION\fR]... \fIFILE1 \fR[\fIFILE2 \fR[\fISKIP1 \fR[\fISKIP2\fR]]].SH DESCRIPTIONCompare two files byte by byte..TP\fB\-b\fR \fB\-\-print\-bytes\fRPrint differing bytes..TP\fB\-i\fR SKIP \fB\-\-ignore\-initial\fR=\fISKIP\fRSkip the first SKIP bytes of input..HP\fB\-i\fR SKIP1:SKIP2 \fB\-\-ignore\-initial\fR=\fISKIP1\fR:SKIP2.IPSkip the first SKIP1 bytes of FILE1 and the first SKIP2 bytes of FILE2..TP\fB\-l\fR \fB\-\-verbose\fROutput byte numbers and values of all differing bytes..TP\fB\-n\fR LIMIT \fB\-\-bytes\fR=\fILIMIT\fRCompare at most LIMIT bytes..TP\fB\-s\fR \fB\-\-quiet\fR \fB\-\-silent\fROutput nothing; yield exit status only..TP\fB\-v\fR \fB\-\-version\fROutput version info..TP\fB\-\-help\fROutput this help..PPSKIP1 and SKIP2 are the number of bytes to skip in each file.SKIP values may be followed by the following multiplicative suffixes:kB 1000, K 1024, MB 1,000,000, M 1,048,576,GB 1,000,000,000, G 1,073,741,824, and so on for T, P, E, Z, Y..PPIf a FILE is `-' or missing, read standard input.Exit status is 0 if inputs are the same, 1 if different, 2 if trouble..SH AUTHORWritten by Torbjorn Granlund and David MacKenzie..SH "REPORTING BUGS"Report bugs to <bug-gnu-utils@gnu.org>..SH COPYRIGHTCopyright \(co 2004 Free Software Foundation, Inc..brThis is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE..SH "SEE ALSO"The full documentation for.B cmpis maintained as a Texinfo manual. If the.B infoand.B cmpprograms are properly installed at your site, the command.IP.B info diff.PPshould give you access to the complete manual.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -