Bird
0
0

A user tries to run passwd --help but gets an error. What is the likely cause?

medium📝 Debug Q6 of 15
Linux CLI - Users and Groups
A user tries to run passwd --help but gets an error. What is the likely cause?
AThe user lacks permission to run passwd
BThe user typed the command incorrectly
CThe system does not have the passwd command installed
DThe <code>passwd</code> command does not support the --help option
Step-by-Step Solution
Solution:
  1. Step 1: Check if passwd supports --help

    Some versions of passwd do not support the --help option and will error.
  2. Step 2: Rule out other causes

    Typing error, missing command, or permission issues usually cause different errors.
  3. Final Answer:

    The passwd command does not support the --help option -> Option D
  4. Quick Check:

    Help option support = Sometimes unsupported [OK]
Quick Trick: Not all commands support --help; check man pages [OK]
Common Mistakes:
  • Assuming --help always works
  • Confusing permission errors with syntax errors
  • Thinking passwd is missing

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes