LPI
101-500 · Question #48
Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
The correct answer is B. chown dan:staff file.txt. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
GNU and Unix Commands
Question
Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
Options
- Achown dan/staff file.txt
- Bchown dan:staff file.txt
- Cchown -u dan -g staff file.txt
- Dchown dan -g staff file.txt
How the community answered
(32 responses)- A3% (1)
- B94% (30)
- C3% (1)
Explanation
You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Topics
#chown#file ownership#permissions#command syntax
Community Discussion
No community discussion yet for this question.