dfc
Show file system disk space usage
TLDR
Display filesystems and their disk usage in human-readable form with colors and graphs
Display all filesystems including pseudo, duplicate, and inaccessible filesystems
Display filesystems without color
Display filesystems containing "ext" in the filesystem type
SYNOPSIS
dfc [OPTION]... [FILESYSTEM]...
PARAMETERS
-a, --all
Include all filesystems, even pseudo/duplicate ones
-B, --block-size=SIZE
Use blocks of specified SIZE (e.g., 1K, 1M)
-h, --human-readable
Print sizes in powers of 1024 (e.g., 1K, 1M, 1G)
-H, --si
Human-readable with powers of 1000 (SI units)
-i, --inodes
List inode usage instead of blocks
-l, --local
Limit to local filesystems only
-t, --type=TYPE
Limit to filesystems of TYPE (e.g., ext4)
-T, --print-type
Print filesystem type
--color[=WHEN]
Colorize output (auto, always, never)
--no-color
Disable colors
--theme=THEME
Use specified color THEME (e.g., gruvbox)
--sort=COL
Sort by column (size, avail, used, mount)
-v, --version
Show version info
--help
Display help
DESCRIPTION
dfc (disk free space - colorful) is a versatile command-line utility for displaying disk space usage on Linux, BSD, and other Unix-like systems. Unlike the standard df command, dfc provides color-coded output to highlight filesystem types, mount points, usage percentages, and available space, making it easier to scan at a glance.
It supports human-readable sizes (e.g., GB, TB), inode usage, filtering by filesystem type or location (local/remote), sorting by various columns, and customizable themes. Output can be tailored for terminals with different widths, and it handles large numbers of filesystems efficiently.
dfc reads data from /proc/mounts or /etc/mtab, similar to df, but adds visual enhancements like bar graphs for usage and gradient colors for quick assessment. Ideal for system administrators monitoring storage in scripts or interactively.
Configuration files (~/.dfc, /etc/dfc.conf) allow persistent customizations for colors, order, and header formats.
CAVEATS
Not installed by default; requires package like dfc (apt/yum install). May conflict with some terminal emulators on color output. Relies on accurate mount data.
CONFIGURATION
Custom themes and formats in ~/.dfc or /etc/dfc.conf. Example: header_color = cyan
Supports 20+ built-in themes like monokai, solarized.
OUTPUT FEATURES
Bar graphs for usage, gradient colors by load, auto line wrapping. Use --max-line-len=80 for fixed width.
HISTORY
Developed by Ingo Ruhnke starting in 2007 as a colorful df replacement. Actively maintained with themes and modern features added over years; available in major distro repos since ~2010.


