dfc is a tool to report file system space usage information. It’s similar to the df tool.
When the output is a terminal, it uses color and graphs by default.
Without any argument, size is displayed in human-readable format. When using human-readable format, there might be some rounding when computing the size. If you want maximum precision, use the “-u” option and choose the unit.
This is free and open source software.
Features include:
- Export output to HTML, JSON, TeX and CSV formats.
- Multiple filtering options including the ability to filter by file system type. There’s also the option to use wildcard filtering.
- Sort the output based in name, type, and mount.
- Show mount options.
- Built in feature that makes the output auto adjust based on terminal width.
- Show information about indoes
- Option to use SI units.
- Optional configuration file which lets you change dfc default colours, values when colours change, the graph symbol in text mode, and modify the colours in HTML export.
Website: github.com/rolinh/dfc
Support:
Developer: Robin Hahling and contributors
License: BSD 3-Clause “New” or “Revised” License


dfc is written in C. Learn C with our recommended free books and free tutorials.
| Explore Linux | |
|---|---|
| Best Free and Open Source Software - A huge collection of recommended free and open source software covering every major category. | |
| In-depth Linux Software Reviews - Detailed assessments of Linux software covering features, usability and overall quality. | |
| The Big List of Active Linux Distros - An extensive collection of actively developed Linux distributions. | |
| Open Source Alternatives - Alternatives to software and services from Google, Microsoft, Apple, Adobe, IBM, Autodesk, Oracle and others. | |
| Essential Linux System Tools - Indispensable utilities for monitoring, maintaining and managing Linux systems. | |
| Linux Productivity Tools - Useful utilities for improving productivity and streamlining everyday tasks. | |
| Alternatives to Popular CLI Tools - Modern alternatives to familiar command-line utilities supplied with Linux systems. | |
| Awesome Free Linux Game Tools - Tools, utilities and companion software that improve gaming on Linux. | |
| Machine Learning on Linux - Machine learning and deep learning software, self-hosted applications and practical tools. | |
| Saving Money with Linux - Practical ways to reduce electricity consumption and lower computing costs with Linux. | |
| Linux Candy - Fun, entertaining and sometimes delightfully quirky software from the lighter side of Linux. | |

Please read our Comment Policy before commenting.