当运行ls -l时,为什么目录上的文件大小不符合du的输出? [英] When running ls -l, why does the filesize on a directory not match the output of du?

查看:130
本文介绍了当运行ls -l时,为什么目录上的文件大小不符合du的输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

4096是什么意思输出 ls -l <​​/ code>?

What does 4096 mean in output of ls -l?

[root@file nutch-0.9]# du -csh resume.new/
2.3G    resume.new/
[root@file nutch-0.9]# ls -l 
total 55132
drwxr-xr-x  7 root root     4096 Jun 18 03:19 resume.new


推荐答案

该目录占用了4096字节的磁盘空间(不包括其内容)。

That the directory takes up 4096 bytes of disk space (not including its contents).

这篇关于当运行ls -l时,为什么目录上的文件大小不符合du的输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆