CompTIA
LX0-101 · Question #256
What does the following script do? #!/bin/bash find/ -perm +4000 | mail -s "Daily find output" root
The correct answer is A. 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 suid 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 guid files to root.
- ECorrects permissions on files and emails the results to root.
How the community answered
(49 responses)- A76% (37)
- B2% (1)
- C6% (3)
- D14% (7)
- E2% (1)
Community Discussion
No community discussion yet for this question.