QuestionQ8

The Linux Operating System

Which command creates the new user tux and creates that user’s home directory with the default configuration files?

  • A defaultuser tux
  • B useradd -m tux
  • C usercreate tux
  • D useradd -o default tux
  • E passwd -a tux
Explanation

useradd -m tux creates the tux account and, through the -m/--create-home option, creates its home directory and copies the default skeleton files into it.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!