LPIC-1 Exam 101 (Linux Administrator) — Question 48

Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose
TWO correct answers.)

Answer options

Correct answer: C, D

Explanation

The commands 'find /tmp -user root -print' and 'find /tmp -user root' correctly identify files and directories owned by the root user within /tmp. Options A and B use '-uid' instead of '-user', which is not a standard way to specify the user in this context, and option E has incorrect syntax with 'print' not correctly placed.