Bird
0
0

What does the useradd command do in Linux?

easy📝 Conceptual Q11 of 15
Linux CLI - Users and Groups
What does the useradd command do in Linux?
ALists all users on the system
BDeletes an existing user account
CChanges the password of a user
DCreates a new user account
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of useradd

    The useradd command is used to create new user accounts on a Linux system.
  2. Step 2: Differentiate from other commands

    userdel deletes users, passwd changes passwords, and listing users is done by other commands like cat /etc/passwd.
  3. Final Answer:

    Creates a new user account -> Option D
  4. Quick Check:

    useradd = create user [OK]
Quick Trick: Remember: add means create, del means delete [OK]
Common Mistakes:
MISTAKES
  • Confusing useradd with userdel
  • Thinking useradd lists users
  • Mixing useradd with password commands

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes