Strange behaviour of "ls -la"
Hi there,
While I was browsing around my computer I discovered soem dirs that does not contain anything (at least according to "ls -la"). Well, what is that "total x" in the output then?! Code:
[host] /some/place/around/linux % ls -la I tried it also with root, the result was the same... [/EDIT] |
What total x? You mean the sizes specified next to the date? They're in bytes and I'd say 512 is the size of an empty directory (. the current directory is empty) and .. is the parent directory, so your parent dir must have files totalling 2048 bytes (or 4 empty directories?).
man ls |
The one in red, that total "x". :)
|
Hi,
Do a ls -lah, shows sizes in K bytes, and yes total is the total size of all in that dir. |
i got it... total 6K in directory... heh, wasn't easy though :)
Thank you guys. |
Quote:
|
All times are GMT -5. The time now is 08:50 AM. |