## 查看磁盘使用 df -h ## 查看磁盘占用 du -h --max-depth=1 ## 删除 30 天前的文件 find /test -mtime +30 -type f | xargs rm -rf