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

LPI Exam 101-500 Topic 2 Question 105 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 105
Topic #: 2
[All 101-500 Questions]

Which of the following commands list all files and directories within the /tmp/ directory and its subdirectories which are owned by the user root? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: A, E

Contribute your Thoughts:

Hermila
19 days ago
I'm not sure, but I think C) could also be a valid option since it specifies the user root with --uid
upvoted 0 times
...
Shawn
30 days ago
I think B and E are the right answers. Using the --path option with find is a more direct way to search within the /tmp directory.
upvoted 0 times
Queenie
6 days ago
But isn't it find /tmp --user root that lists files owned by user root?
upvoted 0 times
...
Lashon
16 days ago
I agree, using the --path option with find is more direct.
upvoted 0 times
...
Shaniqua
16 days ago
I think B and E are the right answers.
upvoted 0 times
...
...
Yuki
30 days ago
I agree with Elmira, A) and D) make sense because they specify the user root and the directory /tmp
upvoted 0 times
...
Carey
1 months ago
The correct answers are A and C. The find command with the --user or --uid option will list all files and directories owned by the specified user.
upvoted 0 times
Hildred
9 days ago
Thanks for sharing the correct answers!
upvoted 0 times
...
Erick
14 days ago
Oh, I see. Those are the correct commands to list files owned by root in /tmp directory.
upvoted 0 times
...
Pete
20 days ago
C) find /tmp --uid root -print
upvoted 0 times
...
Roslyn
27 days ago
A) find /tmp --user root -print
upvoted 0 times
...
...
Elmira
1 months ago
I think the correct commands are A) and D)
upvoted 0 times
...

Save Cancel