RHCE # Week # 53

Question: 

You want to make Rick an owner of the files A.TXT and B.TXT. Which of the following commands will you use to accomplish this?

A. chown rick A.TXT+B.TXT
B. chown rick A.TXT B.TXT
C. chgrp rick A.TXT B.TXT
D. chgrp rick A.TXT+B.TXT

Explanation:

chown -- The chown command is used to change the group ownership of a file.
chgrp -- The chgrp command is used to change the group ownership of a file.

The plus(+) operator is not used with the chgrp and chown command


Answer: B