Linux Disk Space
How to check free disk space in linux.
Linux disk space. Using h parameter with df h will show the file system disk space statistics in human readable format means it gives the details in bytes megabytes and gigabyte. The df command stands for disk free and it shows you the amount of space taken up by different drives. Df h shows disk space in human readable format.
Linux has a few built in utilities that help provide that information. By default df displays values in 1 kilobyte blocks. Check linux disk space using df command.
You can check your disk space simply by opening a terminal window and entering the following. One essential skill that system administrators need is to maintain the health of both online and offline systems. Sectors of 1 512 512 bytes.
Df a find out disk usage and filesystem type by passing the t option. To this day df is my go to command for this task. To discover what s taking up the used disk space use du disk usage.
For example see my fdisk utility output from a red hat enterprise linux 8 2 system below. Df t want to get used and free inodes information on linux. How to check and manage disk space in linux.
To see the file system s complete disk usage pass the a option. Type df and press enter in a bash terminal window to get started. Df a shows the file system s complete disk usage even if the available field is 0.