每次都记不下的两个命令,今天记下来,备以后查 freebsd的命令: 在某个目录里执行 du -h -d 1 可以查看目录里的每个子目录的大小 linux的命令: linux下则为: du -h --max-depth=1