Scroll to navigation

DUA(1) User Commands DUA(1)

NAME

dua - a tool to learn about disk usage, fast!

SYNOPSIS

dua [FLAGS] [OPTIONS] [SUBCOMMAND] [INPUT]...

DESCRIPTION

dua is a fast disk usage analyzer that allows users to explore and manage disk space interactively or via the command line. It supports parallel directory traversal for high performance on large filesystems.

If no input is given, all entries in the current working directory are used.

SUBCOMMANDS

Launch the terminal user interface for interactive navigation and management of disk usage.
Aggregate the consumed space of one or more directories or files and print the result to standard output.
Generate shell completions for the specified shell.
Configuration related commands.
Print help message or the help of the given subcommand.

OPTIONS

The amount of threads to use. Defaults to 0, indicating the amount of logical processors. Set to 1 to use only a single thread. (env: DUA_THREADS, default: 0)
The format with which to print byte counts. Possible values: metric, binary, bytes, gb, gib, mb, mib. (env: DUA_FORMAT, default: binary)
Display apparent size instead of disk usage. (env: DUA_APPARENT_SIZE)
Count hard-linked files each time they are seen. (env: DUA_COUNT_HARD_LINKS)
Do not cross filesystems or traverse mount points. (env: DUA_STAY_ON_FILESYSTEM)
One or more absolute directories to ignore during traversal. These are not ignored if passed directly as input paths. (env: DUA_IGNORE_DIRS, default: /proc /dev /sys /run)
Write a log file with debug information, including panics. (env: DUA_LOG_FILE)
Print help.
Print version.

EXAMPLES

dua
dua i
dua i /home
dua a /var /tmp /home
dua --format metric --threads 4 /home
dua -A /home
dua --ignore-dirs /proc /dev i
dua completions bash

ENVIRONMENT

Number of threads to use.
Output byte format (metric, binary, bytes, gb, gib, mb, mib).
If set, display apparent size instead of disk usage.
If set, count hard-linked files each time they are seen.
If set, do not cross filesystem boundaries.
Colon-separated list of absolute directories to ignore.
Path to the log file for debug information.

SEE ALSO

du(1), ncdu(1), df(1)

AUTHOR

Written by Byron. Manual organized and compiled by the Debian maintainers

Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com>
Luiz Georg <luizgngeorg@gmail.com>

2026-05-17 dua-cli 2.34.0