🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
``` du命令可以显示某个特定目录(默认情况下是当前目录)的 磁盘使用情况 ``` ``` root@ecs-a672-0002:/home# du 4 ./php 24 ./test 12 ./docker/images/apache-php7 57224 ./docker/images/activemq 16344 ./docker/images/java8 20 ./docker/images/nginx 73604 ./docker/images 73608 ./docker 72144 ./soft 145784 . root@ecs-a672-0002:/home# du -h 4.0K ./php 24K ./test 12K ./docker/images/apache-php7 56M ./docker/images/activemq 16M ./docker/images/java8 20K ./docker/images/nginx 72M ./docker/images 72M ./docker 71M ./soft 143M . root@ecs-a672-0002:/home# du -c 4 ./php 24 ./test 12 ./docker/images/apache-php7 57224 ./docker/images/activemq 16344 ./docker/images/java8 20 ./docker/images/nginx 73604 ./docker/images 73608 ./docker 72144 ./soft 145784 . 145784 total root@ecs-a672-0002:/home# du -s 145784 . ```