Bird
0
0

Which of these is the correct syntax to show disk space in human-readable format?

easy📝 Syntax Q12 of 15
Linux CLI - Disk and Storage
Which of these is the correct syntax to show disk space in human-readable format?
Adf -r
Bdf -h
Cdf --list
Ddf -x
Step-by-Step Solution
Solution:
  1. Step 1: Identify the option for human-readable sizes

    The -h option in df shows sizes in easy units like MB, GB.
  2. Step 2: Check other options

    Options like -r, --list, or -x do not provide human-readable output.
  3. Final Answer:

    df -h -> Option B
  4. Quick Check:

    -h means human-readable [OK]
Quick Trick: Use -h for human-readable sizes with df [OK]
Common Mistakes:
  • Using -r or -x instead of -h
  • Forgetting the dash before h
  • Trying --list which is invalid

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes