duf
TLDR
Show disk usage for all mounted filesystems
SYNOPSIS
duf [options] [paths...]
DESCRIPTION
duf (Disk Usage/Free) is a modern replacement for the df command with a colorful, user-friendly terminal interface. It displays disk usage and free space for mounted filesystems in an organized table format.
The tool provides a clear visual representation with color-coded usage bars, making it easy to identify nearly-full filesystems at a glance. It groups filesystems by type (local, network, special) for better organization.
duf automatically handles various filesystem types and units, displaying sizes in human-readable format. It supports multiple output formats including JSON for scripting.
PARAMETERS
--all
Show all filesystems including pseudo.--only types
Show only specified filesystem types.--hide paths
Hide specific mount points.--hide-fs types
Hide specific filesystem types.--hide-mp paths
Hide mount points.--inodes
Show inode information.--json
Output as JSON.--output fields
Specify output columns.--sort field
Sort by field (size, used, avail, usage, inodes, type, mountpoint).--style style
Output style (unicode, ascii).--theme theme
Color theme (dark, light).--width n
Maximum output width.
CAVEATS
Requires terminal with color support for best experience. Network filesystems may show stale information if unavailable. Some special filesystems may report unusual values. Root privileges may be needed to see all mount points.
HISTORY
duf was created by Christian Muehlhaeuser in 2020 as a modern, user-friendly alternative to the traditional df command. Written in Go, it was designed to provide better visual output and easier interpretation of disk space information. The tool gained popularity quickly in the developer community for its clean interface and practical features.


