What would the following line accomplish if run as root?

What would the following line accomplish if run as root?

chown -R bert /home/bert/*

What would the following line accomplish if run as root?

chown -R bert /home/bert/*

A.
Nothing, this command is invalid.

B.
It would revoke bert’s ownership of all files in /home/bert to bert.

C.
It would change user ownership of all files in /home/bert to bert.

D.
It would set the group ownership of the directory /home/bert to bert

E.
It would set ownership of all files and subdirectories in /home/bert to bert

Explanation/Reference:
From the man pages:
chown changes the user and/or group ownership of each given file. -R operate on files and directories recursively



Leave a Reply 2

Your email address will not be published. Required fields are marked *


liti

liti

Correct Answer: E

mr_tienvu

mr_tienvu

I have the same idea.