Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation Exam LFCS Topic 5 Question 65 Discussion

Actual exam question for Linux Foundation's LFCS exam
Question #: 65
Topic #: 5
[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?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Reita
11 days ago
Anyone else feel like the exam writers are just trying to confuse us with these weird find command options? I'm just gonna go with the one that sounds the most straightforward.
upvoted 0 times
...
Nelida
14 days ago
Ha! Option E is the winner, it's the only one that actually uses the -suid flag. Feels like a trick question, but I'm going with it.
upvoted 0 times
...
Elly
15 days ago
Option D is just weird, why would you use -ls and -u together? Seems like overkill.
upvoted 0 times
...
Jerilyn
28 days ago
Option C is a bit confusing, I don't think you can use -type and -username together like that.
upvoted 0 times
Emerson
2 days ago
D) find /usr -ls *s* -u root
upvoted 0 times
...
Lezlie
17 days ago
B) find -user root +mode +s /usr
upvoted 0 times
...
Xuan
20 days ago
A) find /usr -uid 0 -perm +4000
upvoted 0 times
...
...
Antonio
1 months ago
I'm not sure about option B, the +mode parameter doesn't seem right to me.
upvoted 0 times
Chi
28 days ago
A) find /usr -uid 0 -perm +4000
upvoted 0 times
...
...
Berry
1 months ago
Option A looks good to me, it's the only one that uses the correct syntax for the find command.
upvoted 0 times
Merissa
15 days ago
I'm not sure about option D, it doesn't seem to be using the correct syntax for the find command.
upvoted 0 times
...
Argelia
17 days ago
D) find /usr -ls *s* -u root
upvoted 0 times
...
An
22 days ago
I think option A is correct too, it seems to be the most accurate command.
upvoted 0 times
...
Myong
1 months ago
A) find /usr -uid 0 -perm +4000
upvoted 0 times
...
...
Marylou
2 months ago
I'm not sure, but I think C) find -type suid -username root -d /usr might also be a possible answer. It mentions the type and username we are looking for.
upvoted 0 times
...
Ty
2 months ago
I agree with Junita, A) find /usr -uid 0 -perm +4000 makes the most sense based on the question.
upvoted 0 times
...
Junita
2 months ago
I think the correct answer is A) find /usr -uid 0 -perm +4000 because it specifies the user and permission we are looking for.
upvoted 0 times
...

Save Cancel