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 duf
nix-env -iA nixpkgs.duf
sudo snap install duf-utility
pkg install duf
brew install duf
choco install duf
or scoop install duf
Or 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
duf
Show a specific directory
dub /home/$USER/Downloads
Use a specific theme
duf -theme dark
Or light.
And for more info run duf --help
.
Visit the duf repository.