1. df (view disk partition usage)
-l only show the local disk (default)
-a show all file system disk usage, include 0 byte file system
-h The most appropriate unit to calculate the disk capacity of 1024
-H The most appropriate unit to calculate the disk capacity of 1000
-T display disk partition type
-t display the specified file system disk partition
-x dont display the specified file system disk partition
2. du (count the file size)
-b byte
-k KB
-m MB
-h The most appropriate unit to calculate the file size of 1024
-H The most appropriate unit to calculate the file size of 1000
-s count the specified file