650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/84/30/wKiom1eIKRbwBpBBAAA40HHYw4M727.png-wh_500x0-wm_3 -wmp_4-s_3657542903.png "title=" 2.png "alt=" Wkiom1eikrbwbpbbaaa40hhyw4m727.png-wh_50 "/>
Total Amount: 7600 is the number of bytes that are listed by LS for the ingress occupied space
1 indicates the number of hard links for the file
Root indicates the owner
The second root indicates that the file belongs to a group (usually the default value of the owner of the file)
1037 indicates file length, not K-byte
To view the space occupied by a file, you can use the du command
If your file system's IO block size is 4096 Bytes.
The meaning of the file system is the smallest read-write and allocation unit, each read and write operation you can not be smaller than this size. Even if your file is only one byte. And the file is stored on the hard disk in this unit, that is, if the file size is smaller than this value, then it occupies 4096 bytes of space on the disk.
The specific algorithm that occupies space is: (into one (file size/4096)) x4096. According to this you can calculate the space usage of the file in the example you enumerated: 34890 divided by 4096, approximately equal to 8.5, into a method of 9, that is, the file occupies 9 blocks on disk, each block is 4K, so the space occupied by these two files is 36K.
This rule is also appropriate for the directory, but does not appear as a 0 directory, even if the empty directory
Linux Basic Command Introduction