Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
aargh_aargh
· 6y ago · 0 comments
I tried it and think I'll keep using it mainly for the "See what takes space" mode (I haven't encountered an alternative that works in terminal, but I haven't looked, either).
Comments
[–]
Phelinofist
6y ago
I use NCDU:
https://dev.yorhel.nl/ncdu
[–]
ekianjo
6y ago
Ncdu is very good as well. But little known.
[–]
Semaphor
6y ago
It isn’t? When I was setting up my VPS I looked for a windirstat or wiztree alternative on linux and commandline and ncdu was the first thing I found.
[–]
pdimitar
6y ago
I listed two other Rust tools I found very useful for this purpose here:
https://news.ycombinator.com/item?id=22007350
[–]
andy_boot
6y ago
That's why I wrote this:
https://github.com/bootandy/dust
Because it was frustrating to track down what had used disk space.
[–]
PetahNZ
6y ago
du -d 1 -h | sort -h
[–]
OskarS
6y ago
Remove the "-d 1" and that command gets even more useful. This is my preferred version of that trick:
du -h | sort -hr | less
[–]
zlynx
6y ago
There is always "du | sort -nr | head"