
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:
It is available in the repository of most package managers of various distros, examples:
yay -S dufnix-env -iA nixpkgs.dufsudo snap install duf-utilitypkg install dufbrew install dufchoco install duf or scoop install dufOr compiling from source
First of all you will need Go and Git installed. And then run the following commands:
git clone https://github.com/muesli/duf
cd duf
go build
sudo cp duf /usr/local/bin/
Usage is as intuitive as df, examples:
Show usage of connected devices
dufShow a specific directory
dub /home/$USER/DownloadsUse a specific theme
duf -theme darkOr light.
And for more info run duf --help.
Visit the duf repository.