Bird
0
0

What does the ~ symbol represent in Linux command line?

easy📝 Conceptual Q11 of 15
Linux CLI - Navigating the File System
What does the ~ symbol represent in Linux command line?
AThe previous directory
BThe root directory
CThe current user's home directory
DThe system's temporary folder
Step-by-Step Solution
Solution:
  1. Step 1: Understand the meaning of ~

    The tilde symbol ~ is a shortcut that always points to the current user's home directory, like /home/username.
  2. Step 2: Compare with other directory symbols

    / is root, - is previous directory, and /tmp is temporary folder, so they don't match ~.
  3. Final Answer:

    The current user's home directory -> Option C
  4. Quick Check:

    ~ = home directory [OK]
Quick Trick: Remember: ~ always means your home folder [OK]
Common Mistakes:
MISTAKES
  • Confusing ~ with root directory /
  • Thinking ~ means previous directory
  • Assuming ~ is a system folder

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes