Bird
0
0

Which command will change the directory to your home directory using a shortcut?

easy📝 Conceptual Q2 of 15
Linux CLI - Navigating the File System
Which command will change the directory to your home directory using a shortcut?
Acd /home
Bcd ~
Ccd ..
Dcd /root
Step-by-Step Solution
Solution:
  1. Step 1: Identify the shortcut for home directory

    The shortcut ~ represents the user's home directory.
  2. Step 2: Match the command that uses this shortcut

    The command cd ~ changes the directory to the home directory. Other options either go to different directories or parent directory.
  3. Final Answer:

    cd ~ -> Option B
  4. Quick Check:

    Change to home directory = cd ~ [OK]
Quick Trick: Use 'cd ~' to jump straight home [OK]
Common Mistakes:
  • Using 'cd /home' which is not user-specific
  • Using 'cd ..' which goes up one directory
  • Using 'cd /root' which is root's home, not user

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes