使用ubuntu系统时,经常要查系统剩余空间,以及目录大小这是常用指令: 磁盘空间使用情况 df -h 当前目录所有文件及文件夹大小 du --max-depth=1 -h的简化版本 du -hd 1 查看单个文件或文件夹大小 du -sh file du -sh dir link