From owner-freebsd-questions Sun Dec 23 11:36: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from services.webwarrior.net (overlord-host99.dsl.visi.com [209.98.86.99]) by hub.freebsd.org (Postfix) with ESMTP id 1610E37B417 for ; Sun, 23 Dec 2001 11:36:06 -0800 (PST) Received: from twincat.vladsempire.net (unknown [209.105.45.91]) by services.webwarrior.net (Postfix) with ESMTP id 2AFAA4AC for ; Sun, 23 Dec 2001 13:35:47 -0600 (CST) Received: by twincat.vladsempire.net (Postfix, from userid 1001) id EFDF4386E; Sun, 23 Dec 2001 13:16:52 +0000 (GMT) Date: Sun, 23 Dec 2001 13:16:52 +0000 From: Josh Paetzel To: Tim DeBoer Cc: questions@FreeBSD.ORG Subject: Re: ls -lh ??? Message-ID: <20011223131652.A237@twincat.vladsempire.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from deboert@cletus.cornhusker.net on Sun, Dec 23, 2001 at 01:23:57PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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