Unix Check Disk Space
The df command stands for disk free and it shows you the amount of space taken up by different drives.
Unix check disk space. Type df h or df k to list free disk space. Check file system disk space usage the df command displays the information of device name total blocks total. You can check your disk space simply by opening a terminal window and entering the following.
Report file system disk space usage. As you might expect that stands for disk usage. The fdisk command can display the partitions and details like file system type.
10 02 2020 there are numerous ways of checking linux system disk space. Btrfs fi df device show disk space usage information for a btrfs based mount point file system. Btrfs fi df device show disk space usage information for a btrfs.
Fdisk is the most commonly used command to check the partitions on a disk. By default df displays values in 1 kilobyte blocks. To discover what s taking up the used disk space use du disk usage.
Du command display the amount of disk space used by the specified files and for each subdirectory. Df command shows the amount of disk space used and available on unix file systems. Df h or df k sample outputs that show disk space utilization.
However it does not report the size of each partitions. Df command examples to check free disk space. The df command is the tool i first used to discover drive space on linux way back in the 1990s.