Linux Disk Space

It s very simple in both usage and reporting.
Linux disk space. Using df without any options will display the available and used space for all mounted filesystems. To discover what s taking up the used disk space use du disk usage. 20 gib 21474836480 bytes 41943040 sectors units. At first glance it might look impenetrable but it is quite easy to understand.
The df command stands for disk free and shows available and used disk space on the linux system. You can check your disk space simply by opening a terminal window and entering the following. However linux has a strong built in utility called df. Df h shows disk space in human readable format.
By default df displays values in 1 kilobyte blocks. Type df and press enter in a bash terminal window to get started. The df command stands for disk free and it shows you the amount of space taken up by different drives. How to check free disk space in linux.
To this day df is my go to command for this task. Linux has a few built in utilities that help provide that information. One essential skill that system administrators need is to maintain the health of both online and offline systems. For example see my fdisk utility output from a red hat enterprise linux 8 2 system below.
The df command stands for disk filesystem it is used to get a full summary of available and used disk space usage of the file system on linux system. Df a shows the file system s complete disk usage even if the available field is 0. This command has a few switches but for basic reporting you really only need one. This is especially important on production servers where downtime or problems can cause loss of data.
Du command examples for checking free and used disk space. A common issue is that updates fail due to. By matthew muller feb 22 2019 linux. You ll see a lot of output similar to the screenshot below.
Df t want to get used and free inodes information on linux. Sectors of 1 512 512 bytes. How to check and manage disk space in linux. The df command is the tool i first used to discover drive space on linux way back in the 1990s.
To see the file system s complete disk usage pass the a option. 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.