qmetrics.net

duf

Colorful disk usage and free-space terminal utility

duf reports filesystem usage and free space with readable tables, filtering, and sorting as an alternative to traditional df output.

Overview

duf is a command-line Disk Usage/Free utility for Linux, BSD, macOS, and Windows. It presents mount points and devices in a colorful, terminal-width-aware table that users can sort, filter, and narrow to specific paths or filesystem types.

Output can highlight availability and usage with configurable color thresholds, omit pseudo or duplicate mounts, or list everything with an all flag. Columns and sort keys cover size, usage percentages, inodes, mount points, and filesystem types. JSON export is available for scripting.

Packages exist for many Linux distributions, BSD systems, macOS, Windows, and Android via Termux, with binaries offered as another install path. Users run the tool without arguments for a default summary or pass paths and flags to focus results.

The project describes itself as a user-friendly alternative to df for inspecting disk space from the terminal.

Key features

  • Color-coded terminal output
  • Sortable disk usage table
  • Mount and filesystem filters
  • JSON output mode
  • Inode usage reporting
  • Configurable color thresholds
  • Terminal width adaptation
  • Hide or show device groups

Use cases

  • Checking disk space quickly
  • Scripting storage reports as JSON
  • Filtering noisy mount tables
  • Monitoring inode exhaustion
  • Comparing network versus local disks

Tags

Similar software

Yazi

Async terminal file manager written in Rust

Yazi is a terminal file manager built on non-blocking async I/O in Rust, focused on speed, previews, and extensibility.

★ 43.7k⟳ 5 days agoMIT
TerminalsDesktop/CLI app

superfile

Terminal file manager with multi-panel previews

superfile is a Go-based TUI file manager for everyday copy, move, rename, and archive tasks in the shell. It emphasizes readable layouts, previews, and configurable hotkeys.

★ 24.1k⟳ 4 days agoMIT
TerminalsDesktop/CLI app

eza

Modern terminal file listing with colours and Git

Eza replaces the traditional ls command with coloured output, icons, tree views, and Git-aware columns. It ships as one compact binary for common desktop and server platforms.

★ 24.1k⟳ 4 months agoEUPL-1.2
TerminalsDesktop/CLI app

Nnn

Compact terminal file manager with plugins and disk usage

nnn (n³) is a terminal file manager for browsing, selecting, and organizing files from the shell. It emphasizes low resource use, fast navigation, and optional plugins for previews, mounts, and batch operations.

★ 22.2k⟳ 6 days agoBSD-2-Clause
TerminalsDesktop/CLI app

Ranger

Console file manager with VI-style key bindings

Ranger browses the filesystem in the terminal with a multicolumn layout and previews. It includes rifle, which picks programs for file types automatically.

★ 17.5k⟳ yesterdayGPL-3.0
TerminalsDesktop/CLI app

LSD

Colorful terminal directory listing with icons and tree view

LSDeluxe is a modern replacement for the ls command with colors, icons, tree output, and extra formatting options.

★ 16.3k⟳ 3 months agoApache-2.0
TerminalsDesktop/CLI app