LPI
101-400 · Question #166
What would the following line accomplish if run as root? chown -R bert /home/bert/*
The correct answer is E. It would set ownership of all files and subdirectories in /home/bert to bert. See the full explanation below for the reasoning.
Question
What would the following line accomplish if run as root? chown -R bert /home/bert/*
Options
- ANothing, this command is invalid.
- BIt would revoke bert's ownership of all files in /home/bert to bert.
- CIt would change user ownership of all files in /home/bert to bert.
- DIt would set the group ownership of the directory /home/bert to bert
- EIt would set ownership of all files and subdirectories in /home/bert to bert
How the community answered
(36 responses)- A3% (1)
- B6% (2)
- D8% (3)
- E83% (30)
Community Discussion
No community discussion yet for this question.