Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2001 07:39:19 GMT
From:      Cliff Sarginson <cliff@raggedclown.net>
To:        "Mike O'Brien" <obrien@rushe.aero.org>, Jason Hunt <jhunt@blaz.homeip.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: ls -h  (what it looks like)
Message-ID:  <E14NVNn-000J7F-00@post.mail.nl.demon.net>

next in thread | raw e-mail | index | archive | help
> 	I don't know what 'ls -h' does on Linux, but 'ls -s' might do
> what you want.  It gives the size of the file in blocks, followed by
> the file name.  It's ideal for piping into 'sort'.
> 

This is what "ls -h" looks like on Linux

-rw-r--r--    1 root     root          18k Sep  6  1998 COPYING
-rw-r--r--    1 root     root          59k Oct  5 12:51 CREDITS
drwxr-xr-x   20 root     root         4.0k Dec 27 16:22 Documentation/
-rw-r--r--    1 root     root          23k Oct  5 12:51 MAINTAINERS
-rw-r--r--    1 root     root          14k Oct  5 13:28 Makefile
-rw-r--r--    1 root     root          13k Aug  9  1999 README
-rw-r--r--    1 root     root         2.9k Oct  5 13:28 README.kernel-sources
-rw-r--r--    1 root     root         2.7k Sep  4 19:39 REPORTING-BUGS
-rw-r--r--    1 root     root         7.8k Oct  5 12:51 Rules.make
drwxr-xr-x    3 root     root         4.0k Dec 27 16:22 arch/
drwxr-xr-x   30 root     root         4.0k Dec 27 16:22 drivers/
drwxr-xr-x   32 root     root         4.0k Dec 27 16:22 fs/
drwxr-xr-x   11 root     root         4.0k Dec 27 16:22 ibcs/
drwxr-xr-x    8 root     root         4.0k Dec 27 15:46 include/

Cliff



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?E14NVNn-000J7F-00>