LinuxMind trick — your disk is full and you have no idea why. You run du -sh * and get a wall of unsorted numbers that tells you nothing useful. The fix is a tool that turns disk usage into something you can read at a glance.
Meet dust
dust — “du plus rust” — walks your directories and draws a sorted, bar-graph view of what is actually eating space. The biggest offender sits at the top, with a proportional bar next to it. No piping into sort, no squinting at bytes.
Install it
# Arch / CachyOS
sudo pacman -S dust
# Fedora
sudo dnf install du-dust
# anywhere, via Cargo
cargo install du-dust
On Debian and Ubuntu it is often packaged as du-dust; if it is missing, the Cargo line works everywhere.
Use it
dust # usage of the current directory
dust /var/log # what is filling your logs
dust -n 20 -d 2 # top 20 entries, two levels deep
Captura: dust dibuja barras horizontales ordenadas de mayor a menor, con el directorio más pesado arriba.
You can also point dust at a single path and let it recurse, filter by a regular expression to find, say, only video files, and reverse the sort order. The flags are close enough to du that you do not have to relearn a tool — you just get a picture instead of a column of numbers. If your distribution ships an old build, the Cargo version always gives you the current release and drops a self-contained binary in ~/.cargo/bin.
Today’s move
Next time a disk fills up, reach for dust before du. It is typically a few times faster on large directories because it reads them in parallel, and it answers the only question that matters — where did the space go — without a single pipe. That is the LinuxMind trick: less typing, more answer.





Leave a Reply