LPI
102-500 · Question #213
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
(59 responses)- A78% (46)
- B3% (2)
- C2% (1)
- D5% (3)
- E12% (7)
Community Discussion
No community discussion yet for this question.