nerdexam
LPI

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

(55 responses)
  • A
    9% (5)
  • B
    5% (3)
  • C
    84% (46)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice