nerdexam
LPI

101-500 · Question #166

101-500 Question #166: Real Exam Question with Answer & Explanation

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

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.

Full 101-500 Practice
What would the following line accomplish if run as root? chown -R... | 101-500 Q#166 Answer | NerdExam