LPI
101-500 · Question #493
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.)
The correct answer is A. find /tmp -user root -print E. find -path /tmp -user root -print. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
GNU and Unix Commands
Question
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.)
Options
- Afind /tmp -user root -print
- Bfind -path /tmp -uid root
- Cfind /tmp -uid root -print
- Dfind /tmp -user root
- Efind -path /tmp -user root -print
How the community answered
(20 responses)- A80% (16)
- B5% (1)
- C10% (2)
- D5% (1)
Explanation
You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Topics
#find command#file ownership#user filtering#command options
Community Discussion
No community discussion yet for this question.