Subject: Re: NETBSD vs. Linux 'ls' command
To: David Martin <davidm@hous.inmet.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-i386
Date: 02/01/1996 21:06:06
On Thu, 01 Feb 96 09:13:22 CDT 
 "David Martin" <davidm@hous.inmet.com> wrote:

 > Linix has a nice feature such that when using the 'ls' command directorys, 
 > links, etc. show up in different colors. Does BSD support that feature. Its nice 
 > to be able to tell what something is at a glance!

Oh no ... not color ls...

I can tell what things are at a glance without colors:

basalt (thorpej) /sys 303% ls
total 28
1 CVS/          1 ddb/          1 miscfs/       2 netiso/       1 ufs/
1 Makefile      1 dev/          1 msdosfs/      1 netns/        1 vm/
1 adosfs/       0 hp300@        1 net/          1 nfs/
1 arch/         1 isofs/        1 netccitt/     1 scsi/
1 compat/       2 kern/         1 netinet/      1 stand/
1 conf/         1 lib/          1 netipx/       2 sys/

i.e. Makfile is a file, adosfs/ is a directory, and hp300@ is a symlink.

basalt (thorpej) /sys 304% alias ls
/bin/ls -sCF

That ought to do the trick.

--------------------------------------------------------------------------
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939