IT 磁盘快满了,使用shell找出大文件 1. 首先使用df -h查看磁盘空间 2. 查看对应的文件夹占用空间 例如查看当前文件夹占用空间:du -h --max-depth=1 ./ 按照文件占用大小空间进行排序 1 du -h --max-depth=1 ./ | sort -rh