#df -h 显示磁盘使用情况 #du /opt 显示文件夹opt的空间使用情况,会显示opt目录下所有的目录的空间使用情况 #du -h --max-depth=1 /opt 显示opt目录下一层的所有的目录的空间使用情况