LPI
101-400 · Question #41
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.)
The correct answer is C. find /tmp -user root -print D. find /tmp -user root. See the full explanation below for the reasoning.
Question
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.)
Options
- Afind /tmp -uid root -print
- Bfind -path /tmp -uid root
- Cfind /tmp -user root -print
- Dfind /tmp -user root
- Efind -path /tmp -user root 璸rint
How the community answered
(42 responses)- A14% (6)
- B5% (2)
- C76% (32)
- E5% (2)
Community Discussion
No community discussion yet for this question.