首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux中ls-l命令显示的总用量是怎么计算出来的

2012-02-25 
linux中ls-l命令显示的总用量是如何计算出来的[root@Linux ~]# ls -l总计 56-rw------- 1 root root 865 0

linux中ls-l命令显示的总用量是如何计算出来的
[root@Linux ~]# ls -l
总计 56
-rw------- 1 root root 865 03-15 04:12 anaconda-ks.cfg
drwxr-xr-x 2 root root 4096 03-14 20:34 Desktop
-rw-r--r-- 1 root root 27964 03-15 04:12 install.log
-rw-r--r-- 1 root root 5069 03-15 04:11 install.log.syslog
另外谁能告诉我第二列中数字是什么意思?

[解决办法]
应该是 directory 的深度

file 的话就是 1


[解决办法]

Perl code
If the -l option is specified, the following information will be written:"%s %u %s %s %u %s %s\n", <file mode>, <number of links>, <owner name>, <group name>, <number of bytes in the file>, <date and time>, <pathname> 

热点排行