Which of the following commands changes the ownership of file.txt to the user dan and the group staff?

Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
A . chown dan/staff file.txt
B . chown dan:staff file.txt
C . chown -u dan -g staff file.txt
D . chown dan -g staff file.txt

Answer: B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments