Utilities

Excellent Utilities: duf – disk usage utility

Last Updated on May 22, 2022

Summary

du, stands for disk usage, remains a popular tool to estimate file space usage. It’s part of coreutils, a package of GNU software containing implementations for many of the basic tools which are used on Unix-like operating systems.

There’s many projects that look to improve on these tools. duf is one of the best. It’s a polished alternative to du which offers better presentation of information. We can tailor output to exactly what’s needed. For example, we can show and hide specific tables, as well as specific filesystems. We can also show or hide specific columns.

Portions of duf’s code are copied and modified from gopsutil, a port of psutil. psutil is a cross-platform library for retrieving information on running processes and system utilization (CPU, memory, disks, network, sensors).

Website: github.com/muesli/duf
Support:
Developer: Christian Muehlhaeuser
License: MIT license

duf is written in Go. Learn Go with our recommended free books and free tutorials.

Pages in this article:
Page 1 – Introduction / Installation
Page 2 – In Operation
Page 3 – Summary

Complete list of articles in this series:

Excellent Utilities
AES CryptEncrypt files using the Advanced Encryption Standard
AnanicyShell daemon created to manage processes’ IO and CPU priorities
brootNext gen tree explorer and customizable launcher
CerebroFast application launcher
cheat.shCommunity driven unified cheat sheet
CopyQAdvanced clipboard manager
crocSecurely transfer files and folders from the command-line
DeskreenLive streaming your desktop to a web browser
dufDisk usage utility with more polished presentation than the classic df
ezaA turbo-charged alternative to the venerable ls command
Extension ManagerBrowse, install and manage GNOME Shell Extensions
fdWonderful alternative to the venerable find
fkillKill processes quick and easy
fontpreviewQuickly search and preview fonts
horcruxFile splitter with encryption and redundancy
KoohaSimple screen recorder
KOReaderDocument viewer for a wide variety of file formats
ImagineA simple yet effective image optimization tool
LanguageToolStyle and grammar checker for 30+ languages
Liquid PromptAdaptive prompt for Bash & Zsh
lnavAdvanced log file viewer for the small-scale; great for troubleshooting
lsdLike exa, lsd is a turbo-charged alternative to ls
Mark TextSimple and elegant Markdown editor
McFlyNavigate through your bash shell history
mdlessFormatted and highlighted view of Markdown files
notiMonitors a command or process and triggers a notification
NushellFlexible cross-platform shell with a modern feel
nvitopGPU process management for NVIDIA graphics cards
OCRmyPDFAdd OCR text layer to scanned PDFs
Oh My ZshFramework to manage your Zsh configuration
PaperworkDesigned to simplify the management of your paperwork
pastelGenerate, analyze, convert and manipulate colors
PDF Mix ToolPerform common editing operations on PDF files
pecoSimple interactive filtering tool that's remarkably useful
ripgrepRecursively search directories for a regex pattern
RnoteSketch and take handwritten notes
scrcpyDisplay and control Android devices
StickySimulates the traditional “sticky note” style stationery on your desktop
tldrSimplified and community-driven man pages
tmuxA terminal multiplexer that offers a massive boost to your workflow
TuskAn unofficial Evernote client with bags of potential
UlauncherSublime application launcher
WatsonTrack the time spent on projects
Whoogle SearchSelf-hosted and privacy-focused metasearch engine
ZellijTerminal workspace with batteries included
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

6 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Hans Drier
Hans Drier
2 years ago

What’s the performance like?

Jason
Jason
2 years ago
Reply to  Hans Drier

Pretty good considering it’s written in Go

Izzy
Izzy
2 years ago

I like duf, it’s really pretty cool.

One thing that’s bad is the way it includes the reserved spaced that file systems use. There’s about 5% of the space allocated for root on a filesystem.

This means that duf’s output is inconsistent with df.

James M
James M
2 years ago

Noice

coucou
coucou
3 months ago

What a great site !
J’ai trouvé ici bien plus d’utilitaire géniaux qu’ailleurs !

Thanks !