Examveda
Examveda

The command used to compare the files is known as

A. comp

B. cmp

C. do

D. ccp

E. None of the above

Answer: Option B

Solution(By Examveda Team)

In Unix, the cmp command is used to compare two files byte by byte and determine whether their contents are identical or not. When you execute this command followed by the names of two files, it compares the files and provides information about the first byte where they differ, if any.
So, Option B is the command used to compare files in Unix.

This Question Belongs to Computer Science >> Unix

Join The Discussion

Related Questions on Unix