Bird
0
0

What will be the output of the command df -h /home?

medium📝 Command Output Q13 of 15
Linux CLI - Disk and Storage
What will be the output of the command df -h /home?
AShows disk usage of the /home filesystem in human-readable format
BShows disk usage of the root filesystem
CShows all mounted filesystems in bytes
DShows network disk usage
Step-by-Step Solution
Solution:
  1. Step 1: Understand the command arguments

    The command df -h /home checks disk space for the /home directory only, with human-readable sizes.
  2. Step 2: Eliminate other options

    It does not show root filesystem unless /home is on root, nor does it show all filesystems or network usage.
  3. Final Answer:

    Shows disk usage of the /home filesystem in human-readable format -> Option A
  4. Quick Check:

    df -h /home = /home usage human-readable [OK]
Quick Trick: Add path after df -h to check specific folder space [OK]
Common Mistakes:
  • Assuming it shows all filesystems
  • Confusing /home with root filesystem
  • Expecting output in bytes without -h

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes