linux查看文件夹,文件的大小

du-h文件夹

示例

[search@QT-H-0124mysql]$du-hdata

1.7Mdata/opendata_test

212Kdata/performance_schema

4.0Kdata/test

1020Kdata/mysql

49Gdata

df-h

示例

[search@QT-H-0124mysql]$df-h

FilesystemSizeUsedAvailUse%Mountedon

/dev/mapper/VolGroup00-lv_root

197G7.2G180G4%/

tmpfs16G16K16G1%/dev/shm

/dev/mapper/VolGroup00-lv_application

686G7.5G644G2%/application

/dev/sda21008M55M902M6%/boot

/dev/sda11022M23M1000M3%/boot/efi

/dev/mapper/VolGroup01-lv_data0

916G316G554G37%/data0

相关推荐