df Interview Questions and Answers¶
Introduction¶
These questions test whether you understand what df does, when to use it, and how to verify the result on Linux.
Beginner Questions¶
What does df do?
It reports filesystem space usage.
Show a basic command.
df
Intermediate Questions¶
Name useful options.
-h: show human-readable sizes.-T: show filesystem type.-i: show inode usage.
Show a common administrator command.
df -h
Scenario-Based Questions¶
How would you handle df -h?
df -h
What would you verify afterward?
findmnt /var
Expected output should look similar to:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rhel-root 50G 18G 33G 36% /
Practical Task Questions¶
Practice in a lab by running a safe version of the command, explaining the target, and showing the verification output.
Quick Review¶
df
df -h
findmnt /var
Related Guides¶
Summary¶
A strong df answer includes the purpose, a correct example, a common mistake, and a verification command with output you can interpret.