Unix - Study Mode

[#826] Which option is used with cmp command to give a detailed list of the byte number and the differing bytes in octal for each character that differs in both the files?
Correct Answer

(A) -l

[#827] Which command is used with vi editor scroll half page backward?
Correct Answer

(B) [Control - u]

[#828] Which of the following commands can be used to replace 'professor' with 'director' throughout the whole file?
Correct Answer

(D) 1,$s/professor/director/g and %s/professor/director/g

[#829] Which option is used for selecting repeated entries?
Correct Answer

(A) -d

[#830] Where is the exit status of a command stored?
Correct Answer

(D) $?