nerdexam
LPI

117-101 · Question #170

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

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

How the community answered

(31 responses)
  • A
    10% (3)
  • B
    3% (1)
  • C
    81% (25)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 117-101 Practice