dua (Disk Usage Analyzer) is a tool to conveniently learn about the usage of disk space of a given directory.
It’s parallel by default and will max out your SSD, providing relevant information as fast as possible. Optionally delete superfluous data, and do so more quickly than rm.
dua is free and open source software.
Website: github.com/Byron/dua-cli
Support:
Developer: Sebastian Thiel
License: MIT License

USAGE:
dua [FLAGS] [OPTIONS] [SUBCOMMAND] [input]...
ARGS:
input.. One or more input files or directories. If unset, we will use all entries in
the current working directory
FLAGS:
-A, --apparent-size Display apparent size instead of disk usage
-l, --count-hard-links Count hard-linked files each time they are seen
-h, --help Prints help information
-x, --stay-on-filesystem If set, we will not cross filesystems or traverse mount points
-V, --version Prints version information
OPTIONS:
-f, --format The format with which to print byte counts. Metric - uses 1000 as
base (default) Binary - uses 1024 as base Bytes - plain bytes without
any formatting GB - only gigabytes GiB - only gibibytes MB - only
megabytes MiB - only mebibytes [possible values: metric, binary,
bytes, MB, MiB, GB, GiB]
-t, --threads The amount of threads to use. Defaults to 0, indicating the amount of
logical processors. Set to 1 to use only a single thread [default: 0]
SUBCOMMANDS:
aggregate Aggregrate the consumed space of one or more directories or files [aliases:
a, a]
help Prints this message or the help of the given subcommand(s)
interactive Launch the terminal user interface [aliases: i, i]
dua is written in Rust. Learn Rust 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.