|
From: | Linda A. Walsh |
Subject: | bug#18503: [bug-report] the output of ls -lsh |
Date: | Thu, 18 Sep 2014 16:17:40 -0700 |
User-agent: | Thunderbird |
gemfield wrote:
Hi, I am running ls -lsh on kubuntu 14.04, here is the output: address@hidden:~$ ls -ls 4 -rw-rw-r-- 1 gemfield gemfield 9 9 18 23:12 test address@hidden:~$ 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 blockswhen 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).
[Prev in Thread] | Current Thread | [Next in Thread] |