DUF(1)

πŸ“¦
version 0.9.1 Β· 5 versions
, in arch rolling, epel 10, epel 9, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

✨ DUF(1) β€” Disk Usage/Free Utility ✨

okay bestie, welcome to the duf manual page, aka your new favorite little terminal tool πŸ’– (yes the manual name is literally right there in the title, i gotchu)


🌸 NAME 🌸

duf β€” Disk Usage/Free Utility


πŸ¦‹ SYNOPSIS πŸ¦‹

duf [options...] [argument...]

πŸ’œ DESCRIPTION πŸ’œ

It's a Simple Disk Usage/Free Utility. that's the whole vibe. no cap. 🫢

Features: (aka the reasons you're gonna be obsessed)

  • User-friendly, colorful output. 🌈
  • Adjusts to your terminal's theme & width. it literally matches your fit ✨
  • Sort the results according to your needs. your data, your rules πŸ‘‘
  • Groups & filters devices.
  • Can conveniently output JSON. for my scripting girlies πŸ’…

πŸŽ€ OPTIONS πŸŽ€

  • -all β€” include pseudo, duplicate, inaccessible file systems πŸ‘€ the whole extended fam
  • -avail-threshold β€” specifies the coloring threshold (yellow, red) of the avail column, must be integer with optional SI prefixes
  • -hide β€” hide specific devices, separated with commas: local, network, fuse, special, loops, binds
  • -hide-fs β€” hide specific filesystems, separated with commas
  • -hide-mp β€” hide specific mount points, separated with commas (supports wildcards) πŸƒ
  • -inodes β€” list inode information instead of block usage
  • -json β€” output all devices in JSON format πŸ“¦
  • -only β€” show only specific devices, separated with commas: local, network, fuse, special, loops, binds
  • -only-fs β€” only specific filesystems, separated with commas
  • -only-mp β€” only specific mount points, separated with commas (supports wildcards)
  • -output β€” output fields: mountpoint, size, used, avail, usage, inodes, inodes_used, inodes_avail, inodes_usage, type, filesystem
  • -sort β€” sort output by: mountpoint, size, used, avail, usage, inodes, inodes_used, inodes_avail, inodes_usage, type, filesystem
  • -style β€” style: unicode, ascii
  • -theme β€” color themes: dark, light, ansi
  • -usage-threshold β€” specifies the coloring threshold (yellow, red) of the usage bars as a floating point number from 0 to 1
  • -version β€” display version
  • -warnings β€” output all warnings to STDERR
  • -width β€” max output width

🌈 USAGE 🌈

You can simply start duf without any command-line arguments, no thoughts head empty, just vibes:

$ duf

If you supply arguments, duf will only list specific devices & mount points:

$ duf /home /some/file

If you want to list everything (including pseudo, duplicate, inaccessible file systems) β€” yes, everything, go feral:

$ duf --all

You can show and hide specific tables:

$ duf --only local,network,fuse,special,loops,binds

$ duf --hide local,network,fuse,special,loops,binds

You can also show and hide specific filesystems:

$ duf --only-fs tmpfs,vfat

$ duf --hide-fs tmpfs,vfat

...or specific mount points:

$ duf --only-mp /,/home,/dev

$ duf --hide-mp /,/home,/dev

Wildcards inside quotes work πŸƒ (the quotes are doing the heavy lifting here, fr fr):

$ duf --only-mp '/sys/*,/dev/*'

Sort the output:

$ duf --sort size

Valid keys are: mountpoint, size, used, avail, usage, inodes, inodes_used, inodes_avail, inodes_usage, type, filesystem.

Show or hide specific columns:

$ duf --output mountpoint,size,usage

Valid keys are: mountpoint, size, used, avail, usage, inodes, inodes_used, inodes_avail, inodes_usage, type, filesystem.

List inode information instead of block usage:

$ duf --inodes

If duf doesn't detect your terminal's colors correctly, you can set a theme:

$ duf --theme light

duf highlights the availability & usage columns in red, green, or yellow, depending on how much space is still available. You can set your own thresholds:

$ duf --avail-threshold="10G,1G"

$ duf --usage-threshold="0.5,0.9"

If you prefer your output as JSON πŸ“¦:

$ duf --json

🧚 NOTES 🧚

Portions of duf's code are copied and modified from https://github.com/shirou/gopsutil.

gopsutil was written by WAKAYAMA Shirou and is distributed under BSD-3-Clause.


πŸ‘‘ AUTHORS πŸ‘‘

duf was written by Christian Muehlhaeuser <https://github.com/muesli/duf>


Copyright (C) 2020-2022 Christian Muehlhaeuser <https://github.com/muesli>

Released under MIT license.


periodt. that's the whole page, bestie πŸŽ€ go check your disk space and slay πŸ’…

okay so this was duf (the Disk Usage/Free Utility), page dated 2025-09-08, and the version string at the bottom of the og page was just duf β€” so shoutout to duf, 2025-09-08, and the whole DUF(1) crew 🫢 bye bestie!! πŸ’œβœ¨

πŸ“¦ where this page comes from