nerdexam
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)
  • A
    84% (51)
  • B
    2% (1)
  • C
    8% (5)
  • D
    5% (3)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 102-400 Practice