Check Space On Linux

Or you can hover over a file or folder and get its size.
Check space on linux. 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. Display information of all file system disk space usage the same as above but it also displays information of dummy. The linux command line can leave you feeling as if you don t have all the information at your fingertips.
Du command examples for checking free and used disk space. Check linux disk space using df command. Df t want to get used and free inodes information on linux. By default df displays values in 1 kilobyte blocks.
Bash contains two useful commands related to disk space. Df command shows the amount of disk space used and available on linux file systems. The du command is quite different to the. You can check your disk space simply by opening a terminal window and entering the following.
To see the file system s complete disk usage pass the a option. 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. Issue the command df dev sda and the report will only. It s very simple in.
The df command is the tool i first used to discover drive space on linux way back in the 1990s. Below we ll check to see how the swap is defined and being used by your system. Check file system disk space usage the df command displays the information of device name total blocks total. 12 useful df commands to check disk space in linux 1.
Our next command is du. As you might expect that stands for disk usage. Btrfs fi df device show disk space usage information for a btrfs. To find out the available and used disk space use df disk filesystems sometimes called disk free.
If you want less clutter check the space for a specific drive. Df this reports the amount of disk space on a system. Df a find out disk usage and filesystem type by passing the t option. Linux uses swap space to back its physical memory with an overflow area.
Type df and press enter in a bash terminal window to get started. How to check disk space on linux from the command line df. In a traditional gui you can just peek at the bottom of the window and see how much space a folder is using. To discover what s taking up the used disk space use du disk usage.
In most cases the suggested amount is a disk space equal to the amount of physical memory you have installed. Say you need a report on dev sda which is your primary drive on the server.