Bird
0
0

Why does the command cd .. sometimes not change the directory when you are already at the root directory /?

hard📝 Conceptual Q10 of 15
Linux CLI - Navigating the File System
Why does the command cd .. sometimes not change the directory when you are already at the root directory /?
ABecause cd .. requires special permissions at root
BBecause .. at root points to root itself, so directory stays the same
CBecause root directory has no parent directory
DBecause cd .. is disabled at root for security
Step-by-Step Solution
Solution:
  1. Step 1: Understand directory structure at root

    At root /, the parent directory .. points back to / itself.
  2. Step 2: Analyze effect of cd .. at root

    Changing to .. from / keeps you in / because root has no higher directory.
  3. Final Answer:

    Because .. at root points to root itself, so directory stays the same -> Option B
  4. Quick Check:

    .. at root points to root = D [OK]
Quick Trick: .. at root directory points to root itself [OK]
Common Mistakes:
  • Thinking cd .. is disabled or needs permissions
  • Assuming root has no parent but not that .. points to root

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes