LPI
101-350 · Question #120
Which chown command will change the ownership to dave and the group to staff on a file named data.txt?
The correct answer is D. chown dave:staff data.txt. See the full explanation below for the reasoning.
Question
Which chown command will change the ownership to dave and the group to staff on a file named data.txt?
Options
- Achown dave/staff data.txt
- Bchown -u dave -g staff data.txt
- Cchown --user dave --group staff data.txt
- Dchown dave:staff data.txt
How the community answered
(22 responses)- A5% (1)
- B9% (2)
- C5% (1)
- D82% (18)
Community Discussion
No community discussion yet for this question.