【发布时间】:2018-08-08 21:43:54
【问题描述】:
ls -l 显示文件的长格式以及权限。但是什么总没有。是?
【问题讨论】:
标签: linux unix command-line
ls -l 显示文件的长格式以及权限。但是什么总没有。是?
【问题讨论】:
标签: linux unix command-line
我假设你的意思是以下
$ ls -l
total 1408600
...
如果是这样,答案可以在 ls 手册中找到。我通过在我的 centos 盒子上运行 info coreutils 'ls invocation' 来获得手册。
为了避免你这样做......
For each directory that is listed, preface the files with a line
'total BLOCKS', where BLOCKS is the total disk allocation for all
files in that directory. The block size currently defaults to 1024
bytes, but this can be overridden (*note Block size::). The BLOCKS
computed counts each hard link separately; this is arguably a
deficiency.
【讨论】: