LPIC-1 Exam 101 v5 (Linux Administrator) — Question 99

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.)

Answer options

Correct answer: A, D

Explanation

The correct answers are A and D because they both use the correct syntax to find files owned by the root user in the specified directory and print the results. Option B is incorrect because it incorrectly uses -uid instead of -user. Option C is incorrect due to the use of -uid instead of -user, and option E is also not valid because -path is not necessary for this task.