Check Space On Linux
The du command is quite different to the.
Check space on linux. A common issue is that updates fail due to a lack of disk space but there are some simple checks you can make when faced with an error message in order to keep critical systems running smoothly. Check file system disk space usage the df command displays the information of device name total blocks total. The df command stands for disk free and it shows you the amount of space taken up by different drives.
Linux commands to check disk space using. 12 useful df commands to check disk space in linux 1. Df t want to get used and free inodes information on linux.
There are primarily two commands that can be used. Our next command is du. To discover what s taking up the used disk space use du disk usage.
To find out the available and used disk space use df disk filesystems sometimes called disk free. It s very simple in. By default df displays values in 1 kilobyte blocks.
Df a find out disk usage and filesystem type by passing the t option. Or you can hover over a file or folder and get its size. Issue the command df dev sda and the report will only.
The df command is the tool i first used to discover drive space on linux way back in the 1990s. As you might expect that stands for disk usage. Say you need a report on dev sda which is your primary drive on the server.