CompTIA
XK0-001 · Question #156
How would an administrator change the ownership of the directory /tmp/data/user1 from the account 'user1' to the account 'user2'?
The correct answer is C. chown -R user2 /tmp/data/user1. See the full explanation below for the reasoning.
Question
How would an administrator change the ownership of the directory /tmp/data/user1 from the account 'user1' to the account 'user2'?
Options
- Achown /tmp/data/user2 user1
- Bchown -R /tmp/data/user1 user2
- Cchown -R user2 /tmp/data/user1
- Dchown user2 /tmp/data/user1 user2
How the community answered
(35 responses)- A14% (5)
- B9% (3)
- C74% (26)
- D3% (1)
Community Discussion
No community discussion yet for this question.