LPI
101-400 · Question #228
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
(29 responses)- A10% (3)
- B3% (1)
- C3% (1)
- D83% (24)
Community Discussion
No community discussion yet for this question.