From owner-freebsd-questions Sun Dec 23 11:37:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from linuxmail.touchtunes.com (operator.touchtunes.com [216.94.139.201]) by hub.freebsd.org (Postfix) with ESMTP id A298037B417 for ; Sun, 23 Dec 2001 11:37:18 -0800 (PST) Received: from sunder.touchtunes.com (sunder.touchtunes.com [192.168.0.26]) by linuxmail.touchtunes.com (8.9.3/8.8.7) with ESMTP id OAA07378; Sun, 23 Dec 2001 14:37:17 -0500 Received: (from dinjo@localhost) by sunder.touchtunes.com (8.11.6/8.11.6) id fBNJage09018; Sun, 23 Dec 2001 14:36:42 -0500 (EST) (envelope-from dinjo) Date: Sun, 23 Dec 2001 14:36:42 -0500 From: Joel Dinel To: Tim DeBoer Cc: freebsd-questions@freebsd.org Subject: Re: ls -lh ??? Message-ID: <20011223143642.A8994@sunder.touchtunes.com> Mail-Followup-To: Joel Dinel , Tim DeBoer , freebsd-questions@freebsd.org 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 X-Useless-Header: Look ma, it's a # sign! X-Operating-System: FreeBSD 4.4-RELEASE i386 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 Tim, BSD ls doesn't have that option. GNU ls does. You can easily install 'gnuls' from the ports tree (in /usr/ports/misc/gnuls), and simply make aliases around that (alias ls='gnuls') That should do the trick. On Sun, Dec 23, 2001 at 01:23:57PM +0000, Tim DeBoer wrote: > Date: Sun, 23 Dec 2001 13:23:57 +0000 (GMT) > From: Tim DeBoer > To: questions@FreeBSD.ORG > Subject: ls -lh ??? > > 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? > > -- > > Tim DeBoer > http://www.freebsd-geek.com > > "When you find yourself in the company of a Halfling and an ill-tempered > Dragon, remember, you do not have to outrun the Dragon... > ...you just have to outrun the Halfling." > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---end quoted text--- -- Joel Dinel System Administrator TouchTunes Digital Jukebox, Inc. GnuPG key : http://darkhost.mine.nu:81/~joel/mykey.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message