Ravi Sir's Cards › AWS
df vs du
This comparison card contrasts df and du. df is described as filesystem view. du is described as file and folder view. The card pairs df with how full?, and du with what is big?
Read card text
What this card says
Disk
df
Filesystem view.
du
File and folder view.
Key points
Counts deleted open files.
Only files it can see.
Example
df -h
Use when
How full?
What is big?