Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2001 13:16:52 +0000
From:      Josh Paetzel <friar_josh@webwarrior.net>
To:        Tim DeBoer <deboert@cletus.cornhusker.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: ls -lh ???
Message-ID:  <20011223131652.A237@twincat.vladsempire.net>
In-Reply-To: <Pine.BSF.4.21.0112231317100.17420-100000@cletus.cornhusker.net>; from deboert@cletus.cornhusker.net on Sun, Dec 23, 2001 at 01:23:57PM %2B0000
References:  <Pine.BSF.4.21.0112231317100.17420-100000@cletus.cornhusker.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 23, 2001 at 01:23:57PM +0000, Tim DeBoer wrote:
> Hi Folks,
> Red Hat, and probably most other dists of Linux, has an ls command which
> basically makes size output "human readable".
> Like this
> ls -l /var/spool/mail/deboert
> -rw-r-----   1 deboert  mail        18834 Dec 23 12:03
> /var/spool/mail/deboert 
> 
> ls -lh /var/spool/mail/deboert
> -rw-r-----   1 deboert  mail          18k Dec 23 12:03
> /var/spool/mail/deboert
> 
> One thing I've noticed since moving to FreeBSD, is that -h doesn't do this
> translation. It's not a huge flaming big deal, not having it, but it does
> make life easier when dealing with *really* large files and directories.
> 
> I've checked man ls, and came up empty handed.
> Is there a similar option in FreeBSD? Or is that option ls version
> specific?
> 
> --

How about BLOCKSIZE=1K in your environment and then ls -s 

Josh

> 
> Tim DeBoer
> http://www.freebsd-geek.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011223131652.A237>