打印

咨询ls -l 命令的输出结果

咨询ls -l 命令的输出结果

# ls -l
total 24
drwxr-xr-x   3 oracle     dba           2048 May  8 09:57 file1
drwxr-xr-x   3 oracle     dba           2048 May  3 22:28 file2
drwxr-xr-x   3 oracle     dba           2048 Apr  5 15:50 file3
drwxr-xr-x   3 oracle     dba           2048 May  3 22:32 file4
drwxr-xr-x   3 oracle     dba           2048 Apr  7 14:22 file5
drwxr-xr-x   3 oracle     dba           1024 May  8 10:00 file6
drwxr-xr-x   3 oracle     dba           1024 May  8 09:50 file7
drwxr-xr-x   3 oracle     dba             96 May  9 12:00 file8
# uname -a
HP-UX yyyy B.11.23 U ia64 0000000000 unlimited-user license




请问其中第5列的 2048,1024,96这些是什么含义?

[ 本帖最后由 LairaLee 于 2008-5-9 15:39 编辑 ]

TOP

很明显是文件的大小,目录也当作一个文件,目录的大小不包括目录里文件的大小,所以目录会很小,只有在文件数很多时,目录的大小才会变得很大。

TOP


感谢一直以来您对我们的支持!
当前时区 GMT+8, 现在时间是 2008-7-5 04:14 京ICP证060528 号

Designed By 17DST