Exam4Training

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

Exit mobile version