nerdexam
CompTIA

LX0-101 · Question #62

Which chown command will change the ownership to foo and the group to bar on a file named biglist?

The correct answer is C. chown foo:bar biglist. See the full explanation below for the reasoning.

Question

Which chown command will change the ownership to foo and the group to bar on a file named biglist?

Options

  • Achown foo/bar biglist
  • Bchown-u foo-g bar biglist
  • Cchown foo:bar biglist
  • Dchown-user foo-group bar biglist

How the community answered

(41 responses)
  • A
    5% (2)
  • B
    12% (5)
  • C
    80% (33)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice