[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15308: ls -lk reports bytes, not kibytes
From: |
Paul Eggert |
Subject: |
bug#15308: ls -lk reports bytes, not kibytes |
Date: |
Sun, 08 Sep 2013 11:32:58 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 |
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.