What is the exit status of cmp command if both the files are identical?
(a) 0
(b) 1
(c) 2
(d) undefined
I got this question in a national level competition.
I'm obligated to ask this question of Comparing Files:comm, cmp and diff Command in division Handling Ordinary Files of Unix