I looked at IBM's site and read the definition for ls -l, but could not find an answer to my question.
When issuing an ls -l command on AIX, what is the explanation for the different 'file size' values between a directory and a file in the listed output?
Directory => drwxr-xr-x 3 owner group 1601536 Sep 27 10:24 directory/ Tar File of Directory => -rw-r--r-- 1 owner group 9554513920 Oct 09 10:29 directory.tar
The actual size of the directory and file is the same, at about 9 GB.
Why does the directory show 1601536 (1.6 MB?) and the file show as 9554513920 ( 9.5 GB)?
I know its not a file count because I get this for a file count -
$ cd directory $ ls | wc -l 20708
Thanks for any answers.