Stop using du -sh * , use ncdu instead
Jul 22, 2022
If you’re a sys-admin or a DevOps person, you might be familiar with du (disk usage) command, typically while triaging disk usage alerts.
From my personal experience, I’ve seen du could be very slow especially when you need to look at some serious disk usage issue starting from /
With the power vested in me by the internet and stack-overflow, I present you NCDU ncdu(1): NCurses Disk Usage — Linux man page (die.net)
ncdu is basically du but much better, much faster and the best part, you can navigate through each directory checking it’s own usage in an interactive manner.