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
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 is chown dan.staff file.txt
answer is “chown dan:staff file.txt” (B)