LPI
101-500 · 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. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
GNU and Unix Commands
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
(28 responses)- A4% (1)
- C7% (2)
- E89% (25)
Explanation
You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Topics
#chown#file ownership#recursive flag#permissions
Community Discussion
No community discussion yet for this question.