Bird
0
0

Which of these commands correctly changes directory to the parent folder?

easy📝 Syntax Q3 of 15
Linux CLI - Navigating the File System
Which of these commands correctly changes directory to the parent folder?
Acd /parent
Bcd ..
Ccd ~
Dcd ./
Step-by-Step Solution
Solution:
  1. Step 1: Understand directory symbols

    ".." means the parent directory of the current folder.
  2. Step 2: Match command to action

    "cd .." moves up one level; others do different things (home, current folder, or invalid).
  3. Final Answer:

    cd .. -> Option B
  4. Quick Check:

    Parent folder command = cd .. [OK]
Quick Trick: Use cd .. to go up one folder level [OK]
Common Mistakes:
  • Using cd /parent which may not exist
  • Confusing ~ with parent directory

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes