Linux Essentials (010-160) — Question 17

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

Answer options

Correct answer: B

Explanation

The command 'useradd -m tux' is correct because the '-m' option specifically ensures that a home directory is created along with the user. The other options either do not create a user or do not provide the necessary parameters to establish a home directory with default files.