CompTIA
LX0-101 · Question #40
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 belt's ownership from his home directory to root.
- CIt would change user ownership of all files in /home/bert to bert.
- DIt would set the group ownership of the directory/home/bert tobert.
- EIt would set ownership of all files and subdirectories in /home/bert to bert.
How the community answered
(60 responses)- A7% (4)
- B2% (1)
- C3% (2)
- D12% (7)
- E77% (46)
Community Discussion
No community discussion yet for this question.