dut is a disk usage calculator for Linux. By default, dut will output a tree of the biggest directories it finds under your current directory.
The first column in the output tells you how much space a given entry takes up on your disk. This can be an overcount, however, because of hard links (identical files that are only stored once on the disk). Hard links under a directory are deduplicated in the first column’s number, but hard links that go outside of a directory to somewhere else will still be counted here.
That’s where the second column comes in. It tells you how much of an entry’s size is shared with other entries outside of it because of hard links.
This is free and open source software.
Key Features
- Accurate counting of hard links with an output inspired by NCDU.
- ASCII-art disk usage tree that is fully compatible with the Linux tty.
- Configurable output format. Changing the maximum depth of files shown is a simple command-line argument.
- Fast.
Website: codeberg.org/201984/dut
Support:
Developer: 201984
License: GNU General Public License v3.0

dut is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| du alternatives | Programming Language | License |
|---|---|---|
| dust | Rust | Apache License 2.0 |
| duf | Go | MIT License |
| Duc | C | GNU Lesser General Public License v3 |
| Ncdu | C | GNU GPL v2.0 License |
| gdu | Go | MIT License |
| cull | Go | MIT License |
| dua | Rust | MIT License |
| erdtree | Rust | MIT License |
| pdu | Rust | Apache License 2.0 |
| vizex | Python | MIT License |
| godu | Go | MIT License |
| dutree | Rust | GNU General Public License v3 |
| space | Rust | MIT License |
| darya | Rust | GNU General Public License v3.0 |
| diskus | Rust | MIT License or Apache License 2.0 |
| NoxDir | Go | MIT License |
| mcdu | Rust | MIT License |
| dirstat-rs | Rust | MIT License |
| diskonaut | Rust | MIT License |
| bonsai | C++ | GNU General Public License v3.0 |
| diskard | Rust | MIT License or Apache License 2.0 |
| cdu | Perl | GNU General Public License v2.0 |
| tdu | Go | GNU General Public License v2 |
| duviz | Python | MIT License |
| dut | C | GNU General Public License v3.0 |
| whalespotter | Rust | MIT License |
| sn | Rust | BSD 3-Clause “New” or “Revised” License |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.