PrepAway - Latest Free Exam Questions & Answers

Which chown command will change the ownership to foo and the group to bar on a file named biglist?

Which chown command will change the ownership to foo and the group to bar on a file named
biglist?

PrepAway - Latest Free Exam Questions & Answers

A.
chown foo/bar biglist

B.
chown-u foo-g bar biglist

C.
chown foo:bar biglist

D.
chown-user foo-group bar biglist

Explanation:
chown command is used to change the user owner and group owner of file or directory.
Syntax: chown user :group file/directory
OR
chown user.group file/directory


Leave a Reply