Bird
0
0

Which of the following best describes the function of the passwd command in Linux?

easy📝 Conceptual Q1 of 15
Linux CLI - Users and Groups
Which of the following best describes the function of the passwd command in Linux?
ATo update or change a user's login password
BTo create a new user account
CTo delete a user from the system
DTo display the current user's password
Step-by-Step Solution
Solution:
  1. Step 1: Understand the command purpose

    The passwd command is used to change or update user passwords in Linux.
  2. Step 2: Eliminate incorrect options

    Creating or deleting users is done with other commands like useradd or userdel. Passwords are not displayed for security reasons.
  3. Final Answer:

    To update or change a user's login password -> Option A
  4. Quick Check:

    passwd changes passwords [OK]
Quick Trick: passwd changes user passwords only [OK]
Common Mistakes:
  • Confusing passwd with user management commands
  • Thinking passwd displays passwords
  • Assuming passwd creates or deletes users

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes