THE HUMAN IMMUNE SYSTEM
AIDS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
comp
|
|
cmp
|
|
do
|
|
ccp
|
Detailed explanation-1: -In computing, cmp is a command-line utility on Unix and Unix-like operating systems that compares two files of any type and writes the results to the standard output. By default, cmp is silent if the files are the same; if they differ, the byte and line number at which the first difference occurred is reported.
Detailed explanation-2: -The cmp command compares files designated by the File1 and File2 parameters and writes the results to standard output. If you specify a-(minus sign) for either the File1 or File2 parameter, the cmp command reads standard input for that file. Only one file can be read from standard input.
Detailed explanation-3: -Use the diff command to compare text files. It can compare single files or the contents of directories. When the diff command is run on regular files, and when it compares text files in different directories, the diff command tells which lines must be changed in the files so that they match.
Detailed explanation-4: -Explanation: diff command is used for comparing files and displaying the differences between them.
Detailed explanation-5: -Different ways of comparing two files in Unix #1) cmp: This command is used to compare two files character by character. Example: Add write permission for user, group and others for file1. #2) comm: This command is used to compare two sorted files. One set of options allows selection of ‘columns’ to suppress.