duf: glance-able disk usage

October 04, 2020

I love single use tools, that solve a small problem but solve it really well! Today I stumbled upon one such tool, duf.

Described simply as a Disk Usage/Free Utility [for] Linux, BSD & macOS, a picture will provide all you need to know.

duf screenshot

While none of the information it provides is new or unique, being quickly glance-able and digestable is a major benefit. Compare it to the output of df -h or something similar and you'll see what I mean.

df screenshot

If you're interested in using it, checkout their GitHub releases for prebuilt packages for most common platforms. There's a number of supported command-line arguments, and even the ability to output JSON for using the information programmatically.