Services and User Management

An administrator must compare /etc/app with its backup in /backup/app, including all subdirectories, and report only the names of files that differ. Which command does this?

Show the answer

Correct answerA. diff -rq /etc/app /backup/app

diff -r recurses into subdirectories and -q reports only that files differ, not how. sdiff is tempting but it compares two files side by side and does not recurse through directories.