nerdexam
LPI

117-101 · 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

(35 responses)
  • A
    6% (2)
  • B
    3% (1)
  • D
    14% (5)
  • E
    77% (27)

Community Discussion

No community discussion yet for this question.

Full 117-101 Practice