Bird
0
0

You run the command pwd but get an error: command not found. What is the most likely cause?

medium📝 Debug Q14 of 15
Linux CLI - Navigating the File System
You run the command pwd but get an error: command not found. What is the most likely cause?
AThe current directory is empty
BYou are not logged in as root
CYou typed <code>pwd</code> incorrectly or misspelled it
DThe terminal is broken and needs restart
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the error message

    The error command not found means the shell cannot find the command you typed.
  2. Step 2: Identify common causes

    This usually happens if the command is misspelled or typed incorrectly. Being root or directory contents do not affect pwd availability.
  3. Final Answer:

    You typed pwd incorrectly or misspelled it -> Option C
  4. Quick Check:

    Misspelling commands causes 'command not found' [OK]
Quick Trick: Check spelling if 'command not found' appears [OK]
Common Mistakes:
MISTAKES
  • Assuming permissions cause 'command not found'
  • Thinking empty directory breaks pwd
  • Restarting terminal unnecessarily

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes