Linux View disk space size command
DF: The command is a Linux system that views the file system as a disk partition and can add parameters to view the disk's remaining space information
DF-HL: View the disk's remaining space information, as shown below:
File system capacity has been used with available% mount points
Filesystem Size used Avail use% mounted on
/DEV/VDA1 50G 43G 3.7G 93%/
/dev/hda2 50G 0 7. 49G 0%/
Tmpfs 7.8G 24K 7.8G 1%/DEV/SHM
Tmpfs 7.8G 700K 7.8G 1%/run
Tmpfs 7.8G 0 7.8G 0%/sys/fs/cgroup
Tmpfs 1.6G 0 1.6G 0%/run/user/0
With the above output as an example, the meaning of the expression is:
HD HDD Interface second hard drive (b), second partition (2), capacity is 50G, 0.7G, usable is 49, so utilization is 0%, is mounted on the root partition directory (/)
DF-----H [directory name] View all file sizes (including subfolders) under the specified folder
DF------i/dev/-i/dev/sda or sudo apt-get install Blktool sudo blktool/dev /H or DF--
Linux View disk space