How to list space occupied by a directory

xiaoxiao2021-03-06  58

1, DU or DU -S or DU -K (listed in 1024 bytes) Disk space usage)

Du -s | sort -n can quickly find that directory is the biggest.

du -sm

DU -SM / USR

2. Use DF -H to see the space size of the installed file system and the remaining space size (H represents in m).

3, Quota -V View the user's disk space information, if you limit the user's space size with quota.

转载请注明原文地址:https://www.9cbs.com/read-114643.html

New Post(0)