My ongoing quest for modern text-mode utilities has brought another discovery:
gdu, found at https://github.com/dundee/gdu. It’s an interactive text-mode disk usage analyser written with GoLang.
gdu is very fast and simple in use. It allows interactive walking through directories and instant deleting of obsolete files and directories. It’s quite similar to
ncdu but seems much faster. It also has one major additional feature - ability to view file content.
It’s easy to install with the package manager of your choice:
snap etc. or simply straight from sources using
go get -u github.com/dundee/gdu/v4
Obviously this is nothing that you couldn’t already do with combination of
cd ;-) But it’s much simpler, faster and easier. I know, I know… bearded admins who dream in
bash will strongly disagree, but forgive me, I haven’t grown my beard yet ;-)
Have a great week with terminal!
Author Tomasz Waraksa