Linux查看磁盘空间 1、查看磁盘整体使用情况 [root@linux ~]# df -h 2、查看当前目录空间占用情况 [root@linux ~]# du -sh * 3、查看当前目录下文件个数 [root@linux ~]# ls | wc -l