• 查看整体的磁盘容量 df h 详细的磁盘占用情况 du max depth 1 h h是用来把容量显示成易看的方式 max depth 查看的文件的最大深度 进查询某个文件夹的容量 du sh s 和 max depth 0等效