nerdexam
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)
  • A
    78% (46)
  • B
    3% (2)
  • C
    2% (1)
  • D
    5% (3)
  • E
    12% (7)

Community Discussion

No community discussion yet for this question.

Full 102-500 Practice