Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2001 13:23:57 +0000 (GMT)
From:      Tim DeBoer <deboert@cletus.cornhusker.net>
To:        questions@freebsd.org
Subject:   ls -lh ???
Message-ID:  <Pine.BSF.4.21.0112231317100.17420-100000@cletus.cornhusker.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0112231317100.17420-100000>