Bird
0
0

Which ls option will show all files including hidden files starting with a dot?

easy📝 Conceptual Q2 of 15
Linux CLI - Navigating the File System
Which ls option will show all files including hidden files starting with a dot?
A-l
B-a
C-h
D-R
Step-by-Step Solution
Solution:
  1. Step 1: Identify the option for hidden files

    The -a option lists all files, including hidden ones starting with a dot.
  2. Step 2: Verify other options

    -l shows details, -h shows human-readable sizes, -R lists recursively, none show hidden files specifically.
  3. Final Answer:

    -a -> Option B
  4. Quick Check:

    ls -a = all files including hidden [OK]
Quick Trick: Use -a to see hidden files starting with . [OK]
Common Mistakes:
  • Using -l to see hidden files
  • Confusing -h with -a
  • Thinking -R shows hidden files

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes