The DF command is used to view the partition of the disk, the space used by the disk, and the remaining space
1. Usage
DF [Options] [file:]
2. Command options
-A ,--all file Systems
-H,--human-readable to display information in a suitable unit
-H,--si is the same as the-h parameter, but is calculated as the conversion unit of Bytes instead of the Bytes
-I,--inodes display inode information
-K,--kilobytes specify a chunk size of 1024 bytes
- L,--local file system only
-M,--megabytes Specify a chunk size of 1048576 bytes
-P,--portability using POSIX output format
--sync Execute the async instruction before obtaining the disk usage information
-t<type>,--type=<type> only displays disk information for the specified file system type
-T,--print-type Displays the file system type
-x<type>,--exclude-type=<type> do not display disk information for the specified file system type
--help Display Help
--version displaying version information
3. Example
[Email protected] ~]#DF-h file system capacity already available for use%mount point/dev/mapper/centos-root 10G1.1G9.0G One% /Devtmpfs 350M0350M0% /Devtmpfs 362M0362M0%/dev/Shmtmpfs 362M6.0M356M2% /Runtmpfs 362M0362M0%/sys/fs/Cgroup/DEV/SDA1 1014M 130M 885M -% /Boottmpfs 73M073M0%/run/user/0
Linux DF Command