Linux df命令使用实例汇总(3) - 万象系统之家

万象系统之家 - 系统光盘下载网站!

当前位置:万象系统之家 > 系统教程 > Linux df命令实例

Linux df命令使用实例汇总(3)

时间:2014-12-30 18:02:03 作者:qipeng 来源:万象系统之家 1. 扫描二维码随时看资讯 2. 请使用手机浏览器访问: https://m.xitongzhijia.net/xtjc/20141230/33796.html 手机查看 评论

  实例6:方便阅读的格式显示

  命令:du -h test

  输出:

  代码如下:

  [root@localhost soft]# du -h test

  608K test/test6

  308K test/test4

  4.0K test/scf/lib

  4.0K test/scf/service/deploy/product

  4.0K test/scf/service/deploy/info

  12K test/scf/service/deploy

  16K test/scf/service

  4.0K test/scf/doc

  4.0K test/scf/bin

  32K test/scf

  8.0K test/test3

  1.3M test

  [root@localhost soft]#

  实例7:文件和目录都显示

  命令:du -ah test

  输出:

  代码如下:

  [root@localhost soft]# du -ah test

  4.0K test/log31.tar.gz

  4.0K test/test13.tar.gz

  0 test/linklog.log

  0 test/test6/log2014.log

  300K test/test6/linklog.log

  0 test/test6/log2015.log

  4.0K test/test6/log2013.log

  300K test/test6/log2012.log

  0 test/test6/log2017.log

  0 test/test6/log2016.log

  608K test/test6

  0 test/log2015.log

  0 test/test4/log2014.log

  4.0K test/test4/log2013.log

  300K test/test4/log2012.log

  308K test/test4

  4.0K test/scf/lib

  4.0K test/scf/service/deploy/product

  4.0K test/scf/service/deploy/info

  12K test/scf/service/deploy

  16K test/scf/service

  4.0K test/scf/doc

  4.0K test/scf/bin

  32K test/scf

  4.0K test/log2013.log

  300K test/log2012.log

  0 test/log2017.log

  0 test/log2016.log

  4.0K test/log30.tar.gz

  4.0K test/log.tar.bz2

  4.0K test/log.tar.gz

  0 test/test3/log2014.log

  4.0K test/test3/log2013.log

  8.0K test/test3

  4.0K test/scf.tar.gz

  1.3M test

  [root@localhost soft]#

发表评论

0

没有更多评论了

评论就这些咯,让大家也知道你的独特见解

立即评论

以上留言仅代表用户个人观点,不代表万象系统之家立场

Linux系统推荐

本站发布的系统仅为个人学习测试使用,请在下载后24小时内删除,不得用于任何商业用途,否则后果自负,请支持购买微软正版系统!

如侵犯到您的权益,请及时通知我们,我们会及时处理,对系统之家有任何投诉或建议,请与管理员联系. QQ:346231061

Copyright2024 万象系统之家(www.maxdo.tech) 版权所有 沪ICP备2021023961号-5 粤公网安备 13010202004188