Function of the df command in the linux disk command. The df command displays the usage of all file systems on I nodes and disk blocks. Meaning of each option of this command:-a displays the disk usage of all file systems, including 0 blocks) of the file system, such as/proc file system. -K is displayed in k bytes. -I: displays the I node information instead of the disk block. -T: displays the disk space usage of each specified type of file system. -X lists the disk space usage of a file system of a specified type, which is different from that of the t option ). -T displays the file system type.
Run the linux disk command Df to view the remaining space of the Linux disk.
The Df command is used to view the file system by disk partition. You can add parameters to view the remaining disk space. The command format is as follows:
Df-hl
Display format:
File System capacity used available % mount point
/Dev/hda5487M120M342M27 %/
/Dev/hda1981M21M911M3 %/boot
None125M0125M0 %/dev/shm
/Dev/hda229G4.9G23G18 %/home
/Dev/hda320G4.8G14G27 %/usr
/Dev/hda724G510M22G3 %/var
/Dev/hdb275g751_100 %/
/Dev/hdb275g751_100 %/, as shown in the following example:
HD hard disk interface second hard disk B), second partition 2), capacity is 75G, 75G used, available is 0, so the utilization is 100%, mounted to the root partition directory /)
The above section describes the use of the linux disk command Df. We will introduce the use of the linux disk command dd command later.
- Linux compressed package Method 6: cpio command
- Linux compression and packaging method serial 5: dd command
- Linux compression and packaging method 4: compress command
- Linux compression and packaging method 3: bzip2, bzcat command
- Linux compression and packaging method 2: gzip and zcat commands