nerdexam
LPI

101-400 · Question #445

101-400 Question #445: Real Exam Question with Answer & Explanation

The correct answer is D. chown dave:staff data.txt. See the full explanation below for the reasoning.

Question

Which chown command will change the ownership to dave and the group to staff on a file named data.txt?

Options

  • Achown dave/staff data.txt
  • Bchown -u dave -g staff data.txt
  • Cchown --user dave --group staff data.txt
  • Dchown dave:staff data.txt

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice