Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为什么linux中的ls-l命令显示总计数?总数是多少?_Linux_Unix_Command Line - Fatal编程技术网

为什么linux中的ls-l命令显示总计数?总数是多少?

为什么linux中的ls-l命令显示总计数?总数是多少?,linux,unix,command-line,Linux,Unix,Command Line,ls-l显示文件的长格式以及权限。但是总数是多少?我想你的意思是 $ ls -l total 1408600 ... 如果是,可在ls手册中找到答案。我通过在centos设备上运行info coreutils“ls调用”来获取手册 为了救你这么做 For each directory that is listed, preface the files with a line 'total BLOCKS', where BLOCKS is the total disk allocation fo

ls-l显示文件的长格式以及权限。但是总数是多少?

我想你的意思是

$ ls -l
total 1408600
...
如果是,可在ls手册中找到答案。我通过在centos设备上运行info coreutils“ls调用”来获取手册

为了救你这么做

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.