ls -l显示文件的长格式以及权限。但总数没有。是
答案 0 :(得分:1)
我认为你的意思是以下
$ 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.