nerdexam
LPI

117-201 · Question #181

117-201 Question #181: Real Exam Question with Answer & Explanation

The correct answer is D. Emails a report of all suid files to root. See the full explanation below for the reasoning.

Question

What does the following script do? #!/bin/bash find / -perm +4000 | mail -s "Daily find output" root

Options

  • AEmails a report of all guid files to root
  • BEmails a report of all important files to root
  • CEmails a report of all writeable files to root
  • DEmails a report of all suid files to root
  • ECorrects permissions on files and emails the result to root

Community Discussion

No community discussion yet for this question.

Full 117-201 Practice