duf - A more complete alternative to the df command
A modern utility with TUI output.
If you are used to using
df and/or the
du command, but would like something more complete,
duf is a perfect solution that replaces both in the best possible way.
duf meaning free disk/utility usage. It works on Linux, BSD and Windows systems. It has the following features:
- Easy to use
- Color display
- Adjust the height and width according to the terminal’s resize movement
- Sorts data according to our need
- Filters and groups
- JSON outputs and others.
It is available in the repository of most package managers of various distros, examples:
- Arch Linux via AUR:
yay -S duf
nix-env -iA nixpkgs.duf
- Ubuntu or any distro with snap:
sudo snap install duf-utility
pkg install duf
brew install duf
choco install dufor
scoop install duf
- Among others that can be found here.
Or compiling from source
First of all you will need Go and Git installed. And then run the following commands:
Usage is as intuitive as
Show usage of connected devices
Show a specific directory
Use a specific theme
And for more info run
Visit the duf repository.