Bird
0
0

Which command will take you to your home directory regardless of your current location?

easy📝 Conceptual Q2 of 15
Linux CLI - Navigating the File System
Which command will take you to your home directory regardless of your current location?
Acd ..
Bcd /
Ccd ~
Dcd -
Step-by-Step Solution
Solution:
  1. Step 1: Identify the symbol for home directory

    The tilde (~) symbol represents the user's home directory in Linux.
  2. Step 2: Understand cd usage with ~

    Using cd ~ moves the shell to the home directory from anywhere.
  3. Final Answer:

    cd ~ -> Option C
  4. Quick Check:

    cd ~ goes home directory = A [OK]
Quick Trick: Use cd ~ to jump directly to your home folder [OK]
Common Mistakes:
  • Using cd / which goes to root
  • Using cd .. which goes up one directory

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes