Linux du
2014-01-14 11:12
302 查看
du命令可以获取各文件空间消耗
-h, -k 参数含义与其他命令一样
-s: Only display a grand total
-c: produce a grand total
-a: include files, not just directories
-h, -k 参数含义与其他命令一样
-s: Only display a grand total
-c: produce a grand total
-a: include files, not just directories
[oracle@odilab tt]$ du -a 210264 ./3.txt 4 ./1.txt 4 ./t1/t2.txt 4 ./t1/t1.txt 12 ./t1 475228 ./4.zip 685512 . [oracle@odilab tt]$ du 12 ./t1 685512 . [oracle@odilab tt]$ du -s 685512 . [oracle@odilab tt]$ du -c 12 ./t1 685512 . 685512 total
相关文章推荐
- linux 下大量TIME_WAIT 的处理
- Linux 下的两个特殊的文件 -- /dev/null 和 /dev/zero 简介及对比
- linux下的SVN server的POST-COMMIT钩子自动部署代码
- centos缺少共享库:libstdc++.so.6
- Linux学习小结(文件与文件系统的压缩与打包)
- linux 命令 losetup
- Linux学习笔记24——进程管道
- 我的Linux书架
- linux下中文乱码问题解决
- 利用Linux守护进程机制完成一个简单系统监控demo
- linux中显示中文乱码的问题
- linux 下 tar.xz 解压方式
- linux下查看文件某一行内容
- Linux的开发
- LINUX上MYSQL优化三板斧
- linux系统下各文件夹的结构说明及用途介绍
- 查看Linux操作系统版本
- linux 查看根目录下的磁盘空间使用情况
- linux开机引导过程
- linux添加环境变量PATH导致命令用不了的解决办法