Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam LFCS topic 1 question 232 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 232
Topic #: 1
[All LFCS Questions]

Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?

  • A. find /usr -uid 0 -perm +4000
  • B. find -user root +mode +s /usr
  • C. find -type suid -username root -d /usr
  • D. find /usr -ls \*s\* -u root
  • E. find /usr -suid -perm +4000
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Greenmile84
3 months, 1 week ago
I tested it also in Ubuntu, Debian, Alma. Same result, no answer is right
upvoted 1 times
...
mksarav
1 year, 3 months ago
correct answer is (not listed in the options): $ find /usr -uid 0 -perm /4000
upvoted 2 times
...
mksarav
1 year, 3 months ago
all answers given are wrong. Tested on ubuntu. ~$ find /usr -uid 0 -perm +4000 find: invalid mode ‘+4000’ ~$ find -user root +mode +s /usr find: paths must precede expression: `+mode' ~$ find -type suid -username root -d /usr find: Must separate multiple arguments to -type using: ',' ~$ find /usr -ls \*s\* -u root find: paths must precede expression: `*s*' ~$ find /usr -suid -perm +4000 find: unknown predicate `-suid'
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...