du (abbreviated from disk usage) is a standard program used to estimate file space usage—space used under a particular directory or files on a file system.
du is part of coreutils, a package of software containing implementations for many of the basic tools, such as cat, ls, and rm, which are used on Unix-like operating systems.
If you execute du without any options it will output the sizes of all files starting in your current directory and all subdirectories of your current directory.
There are lots of budding developers who have developed software to improve on du in a number of regards. The tools featured here are all command line tools or ncurses interface.
We make the following recommendations captured in our ratings chart.
You might be aware that Duc comes with a number of user interfaces for querying the system. It can be used on the console with a command line or ncurses interface, on graphical desktops with an X or OpenGL GUI, or over the web using the CGI interface.
Let’s explore the 13 ‘du’ tools at hand. For each title we have compiled its own portal page, a full description with an in-depth analysis of its features, a screenshot of the software in action, together with links to relevant resources.
erdtree was recently added to this article.
|du alternatives||Programming Language||License|
|dust||Rust||Apache License 2.0|
|Duc||C||GNU Lesser General Public License v3|
|Ncdu||C||GNU GPL v2.0 License|
|dutree||Rust||GNU General Public License v3|
|pdu||Rust||Apache License 2.0|
|tdu||Go||GNU General Public License v2|
All the CLI tools in this series.
|Alternatives to CLI tools|
|bc // cat // cd // cloc // cp // cut // df // diff // dig // du // find // grep // history // kill // locate // ls // lsof // man // more // mv / ping // rm // sed // split // sudo // sysctl // tar // top // traceroute // tree // watch // whois|
|Read our complete collection of recommended free and open source software. Our curated compilation covers all categories of software.
The software collection forms part of our series of informative articles for Linux enthusiasts. There are hundreds of in-depth reviews, open source alternatives to proprietary software from large corporations like Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.
There are also fun things to try, hardware, free programming books and tutorials, and much more.