Bird
0
0

Which of the following is the correct syntax to display disk usage in human-readable format for the directory /home/user?

easy📝 Syntax Q3 of 15
Linux CLI - Disk and Storage
Which of the following is the correct syntax to display disk usage in human-readable format for the directory /home/user?
Adu -h /home/user
Bdu /home/user -s
Cdu -c /home/user
Ddu -a /home/user
Step-by-Step Solution
Solution:
  1. Step 1: Identify human-readable option

    The -h option formats sizes in KB, MB, GB for easy reading.
  2. Step 2: Check syntax correctness

    du -h /home/user correctly applies -h before the directory path.
  3. Final Answer:

    du -h /home/user -> Option A
  4. Quick Check:

    Human-readable size = -h option [OK]
Quick Trick: Place options before directory path for correct syntax [OK]
Common Mistakes:
  • Placing options after directory
  • Using wrong option for human-readable

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes