Which chown command will change the ownership to dave and the group to staff on a file named data.txt?
A. chowndave/staff data.txt
B. chown -u dave -g staff data.txt
C. chown –user dave –group staff data.txt
D. chowndave:staff data.txt
Which chown command will change the ownership to dave and the group to staff on a file named data.txt?
A. chowndave/staff data.txt
B. chown -u dave -g staff data.txt
C. chown –user dave –group staff data.txt
D. chowndave:staff data.txt
D: “chowndave:staff data.txt” is wrong.
Should be “chown dave:staff data.txt”.