GNU bug report logs -
#18503
[bug-report] the output of ls -lsh
Previous Next
Reported by: gemfield <gemfield <at> civilnet.cn>
Date: Thu, 18 Sep 2014 21:52:04 UTC
Severity: normal
Tags: notabug
Merged with 17838
Done: Pádraig Brady <P <at> draigBrady.com>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/html, inline)]
[Message part 2 (text/plain, inline)]
Hi,
I am running ls -lsh on kubuntu 14.04, here is the output:
gemfield <at> gemfield-ThinkPad-Edge:~$ ls -ls
4 -rw-rw-r-- 1 gemfield gemfield 9 9 18 23:12 test
gemfield <at> 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?
gemfield <at> gemfield-ThinkPad-Edge:~$ uname -a
Linux gemfield-ThinkPad-Edge 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:01 UTC 2014 i686 i686 i686 GNU/Linux
gemfield <at> gemfield-ThinkPad-Edge:~$ ls --version
ls (GNU coreutils) 8.21
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Richard M. Stallman and David MacKenzie.
Thanks.
Gemfield.
This bug report was last modified 10 years and 251 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.