Subject: bug#18503: [bug-report] the output of ls -lsh

From: "Linda A. Walsh" <[email-masked]>
Date: Thu, 18 Sep 2014 16:17:40 -0700

gemfield wrote:
>    Hi,
>    I am running ls -lsh on kubuntu 14.04, here is the output:
>    gemfield@gemfield-ThinkPad-Edge:~$ ls -ls
>    4 -rw-rw-r-- 1 gemfield gemfield    9  9 18 23:12 test
>    gemfield@gemfield-ThinkPad-Edge:~$ ls -lsh
>    4.0K -rw-rw-r-- 1 gemfield gemfield    9  9 18 23:12 test
>    the "4" colored by green means 4 blocks, so why becomes 4.0K blocks
>   
>    when add -h option to ls -ls?
>   
4  * 1K blocks = 4.0K blocks.

-h has been an option of ls for many years.

blocks in "ls" are 1K in size.

What problem or bug are you reporting?

Seems to be working it ever has....(or I'm missing your point).