DUF(1)
β¨ 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 from0to1-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 π
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
- arch rolling: duf 0.9.1-1 Β· MIT
- epel 10: duf 0.9.1-3.el10_3 Β· Apache-2.0 AND BSD-3-Clause AND MIT
- epel 9: duf 0.9.1-3.el9 Β· Apache-2.0 AND BSD-3-Clause AND MIT
- fedora 44: duf 0.9.1-3.fc44 Β· Apache-2.0 AND BSD-3-Clause AND MIT
- nixos 26.05: duf 0.9.1
- nixpkgs unstable: duf 0.9.1
- ubuntu resolute: duf 0.9.1-1 Β· BSD-3-Clause AND MIT
- ubuntu stonking: duf 0.9.1-1 Β· BSD-3-Clause AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms