bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15308: ls -lk reports bytes, not kibytes


From: Bruce Dubbs
Subject: bug#15308: ls -lk reports bytes, not kibytes
Date: Sun, 08 Sep 2013 13:43:33 -0500
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120628 Firefox/13.0.1 SeaMonkey/2.10.1

Paul Eggert wrote:
Bruce Dubbs wrote:
I'm not sure what you are saying.  Is 'ls -lk' valid or not?

Yes, it's valid.

I don't know what 'per-directory block counts' means.

It's what's in the first line of output of "ls -l".

$ ls -l
total 5936
...

'ls -lks file'  produces bytes

It produces block counts in column 1, bytes in column 6.
'-k' affects the former, not the latter.  -k is the default
unless your environment has special settings, so normally
specifying -k won't change the output.

OK, thanks Paul.  I still think the man page could use some clarification.

  -- Bruce






reply via email to

[Prev in Thread] Current Thread [Next in Thread]