nerdexam
CompTIA

LX0-101 · Question #404

Which of the following would be accomplished if the below line is 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

Which of the following would be accomplished if the below line is run as root? chown -R bert /home/bert/*

Options

  • ANothing, this command is invalid.
  • BIt would revoke bert's ownership from the 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 to bert.
  • EIt would set ownership of all files and subdirectories in /home/bert to bert.

How the community answered

(40 responses)
  • A
    5% (2)
  • B
    5% (2)
  • C
    3% (1)
  • D
    15% (6)
  • E
    73% (29)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice