Given a file with a single h in it. If I run find with the -ls primitive I get the following output:
$ cat some_file h $ find . -ls 2750606 0 drwxr-xr-x 4 mbigras FOO\Domain Users 136 May 18 12:35 . 3067730 16 -rw-r--r-- 1 mbigras FOO\Domain Users 6148 May 18 12:33 ./.DS_Store 3067836 8 -rw-r--r-- 1 mbigras FOO\Domain Users 2 May 18 12:35 ./some_file From man find and searching for -ls we can find the output is the following information about files:
its inode number, size in 512-byte blocks, file per- missions, number of hard links, owner, group, size in bytes, last modification time, and pathname.
Some things I'm wondering:
- If
some_fileonly hashin it which is one byte then why is the "size in bytes" 2? I would expect it to be 1. - If the second number is the "size in 512-byte blocks" then why is it larger than the "size in bytes"? I would expect it to be 0 or at least smaller.