Bird
0
0

Which command correctly lists files with detailed information and sizes in a human-readable format?

easy📝 Syntax Q3 of 15
Linux CLI - Navigating the File System
Which command correctly lists files with detailed information and sizes in a human-readable format?
Als -lR
Bls -la
Cls -h
Dls -lh
Step-by-Step Solution
Solution:
  1. Step 1: Understand the options

    -l lists files with detailed info; -h makes sizes human-readable.
  2. Step 2: Check each option

    ls -lh combines both; ls -la shows hidden files but not human-readable sizes; ls -h alone is valid but only shows sizes without details; ls -lR lists recursively but not human-readable sizes.
  3. Final Answer:

    ls -lh -> Option D
  4. Quick Check:

    Detailed + human-readable = -lh [OK]
Quick Trick: Use -l for details and -h for human-readable sizes [OK]
Common Mistakes:
  • Using -h alone without -l
  • Confusing -a with human-readable sizes
  • Assuming -R affects size format

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes