r/linux4noobs•
iszoloscope

How to sort file sizes from low to high with "du -h --max-depth=1" on the CLI ?

shells and scripting

So I use that command on the CLI to see the size of folders, but is it also possible to add a flag that sorts them from low to high in folder size (or vice versa)?

Posted Aug 3, 2026, 2:01 PM UTC

716
Loading comments…