LPI
102-400 · Question #74
Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?
The correct answer is A. find /usr -uid 0 -perm +4000. See the full explanation below for the reasoning.
Question
Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?
Options
- Afind /usr -uid 0 -perm +4000
- Bfind -user root +mode +s /usr
- Cfind -type suid -username root -d /usr
- Dfind /usr -ls *s* -u root
- Efind /usr -suid -perm +4000
How the community answered
(61 responses)- A84% (51)
- B2% (1)
- C8% (5)
- D5% (3)
- E2% (1)
Community Discussion
No community discussion yet for this question.