问题排查
查看当前目录下所有目录和文件磁盘占用前 10 名
du -sh * 2>/dev/null | sort -hr | head -10只查看目录(不包含文件)
du -h --max-depth=1 2>/dev/null | sort -hr | head -10sudo apt install ncdu
ncdu .
查看当前目录下所有目录和文件磁盘占用前 10 名
du -sh * 2>/dev/null | sort -hr | head -10只查看目录(不包含文件)
du -h --max-depth=1 2>/dev/null | sort -hr | head -10sudo apt install ncdu
ncdu .