How To Install Df?

How To Install Df?

df

Gives an overview of the file system disk space usage.

Maintainer: Michael Stone



Section: utils

Install df

  • Debian apt-get install coreutils Click to copy
  • Ubuntu apt-get install coreutils Click to copy
  • Alpine OS apk add coreutils Click to copy
  • Arch Linux pacman -S coreutils Click to copy
  • Kali Linux apt-get install coreutils Click to copy
  • CentOS yum install coreutils Click to copy
  • Fedora dnf install coreutils Click to copy
  • Raspbian apt-get install coreutils Click to copy
  • macOS brew install coreutils Click to copy

Gives an overview of the file system disk space usage.

How to use df?

Below are few example commands for df that you can use in the terminal.

Display all file systems and their disk usage:
dfClick to copy
Display all file systems and their disk usage in human readable form:
df -hClick to copy
Display the file system and its disk usage containing the given file or folder:
df path/to/file_or_folderClick to copy
Installation of latest df command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2024 latest package from the repository and install it in your computer/server.