Linux Command To Check Disk Space

The df command stands for disk free and it shows you the amount of space taken up by different drives.
Linux command to check disk space. 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. Df is an abbreviation for disk free it displays the amount of available disk space for file systems. How to check disk space on linux from the command line df.
Du command display the amount of disk space used by the specified files and for each subdirectory. Linux commands to check disk space using. The fdisk command can display the. 12 useful df commands to check disk space in linux 1.
Df command shows the amount of disk space used and available on linux file systems. Check linux disk space using df command. To discover what s taking up the used disk space use du disk usage. Sfdisk is another utility with a purpose similar to fdisk but with more features.
You can check your disk space simply by opening a terminal window and entering the following. Check file system disk space usage the df command displays the information of device name total blocks total. Btrfs fi df device show disk space usage information for a btrfs. By default df displays values in 1 kilobyte blocks.
Btrfs fi df device show disk space usage information for a btrfs based mount point file system. The du command the du command allows you to see what directories are using your disk space. Type df and press enter in a bash terminal window to get started. To find out the available and used disk space use df disk filesystems sometimes called disk free.
Du command display the amount of disk space used by the specified files and for each subdirectory. Display information of all file system disk space usage the same as above but it also displays information of dummy. 10 commands to check disk partitions and disk space on linux 1. The du command is quite different to the.
Bash contains two useful commands related to disk space. Linux command to check disk space df command shows the amount of disk space used and available on linux file systems. Our next command is du. Using df command for checking disk usage.
This makes it really easy to track down those directories that are eating up the largest portion of.