Bird
0
0

Why does the pwd command always show the absolute path instead of a relative path?

hard📝 Conceptual Q10 of 15
Linux CLI - Navigating the File System
Why does the pwd command always show the absolute path instead of a relative path?
ABecause it shows the full absolute path of the current directory
BBecause it only shows the last folder name
CBecause it depends on the user's home directory
DBecause it shows the path relative to the root of the current drive
Step-by-Step Solution
Solution:
  1. Step 1: Understand what absolute path means

    An absolute path shows the full location from the root directory.
  2. Step 2: Explain pwd behavior

    pwd prints the absolute path of the current working directory.
  3. Final Answer:

    Because it shows the full absolute path of the current directory -> Option A
  4. Quick Check:

    pwd shows absolute path [OK]
Quick Trick: pwd always prints full absolute path, not relative [OK]
Common Mistakes:
  • Thinking pwd shows relative path
  • Confusing last folder name with full path
  • Assuming home directory affects pwd

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes