Which chown command will change the ownership to dave and the group to staff on a file named data.txt?
Which chown command will change the ownership to dave and the group to staff on a file named data.txt?
To change the ownership of a file to a specific user and group, you use the chown command followed by the new owner and group separated by a colon. Therefore, the correct command to change the ownership to dave and the group to staff on a file named data.txt is chown dave:staff data.txt.
it is repeated