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 belt’s ownership from his home directory to root.

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 tobert.

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

Explanation:
-R Recursively change file user and group IDs. For each file operand that names a directory,
chown shall change the user ID (and group ID, if specified) of the directory and all files in the file
hierarchy below it.
Unless A.H, -L, or – P option is specified, It is unspecified which of these options will be used as
the default.



Leave a Reply 0

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