color to files

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Sat Nov 1 10:27:22 PST 2003


top-post. don't Please

> From: "Greg J." <xcas at cox.net>
> To: "SWIT" <mark at s-wit.net>
> Cc: <freebsd-questions at freebsd.org>
> Sent: Saturday, November 01, 2003 9:23 AM
> Subject: Re: color to files
> 
> 
> > On Sat, 1 Nov 2003 09:16:01 -0500
> > "SWIT" <mark at s-wit.net> wrote:
> >
> > > Is there a way to make the directories to show in color when doing a
> > > ls ? thanks
> > > mark
> >
> > ls -G
> >
> > man ls :)

"SWIT" <mark at s-wit.net> writes:

> I did this and got nothing.,

Then get a termtype that supports it.  On recent FreeBSD releases, it
should work out of the box on xterm and the text console.

> A webpage - i can't remember which one said I need to load a program from
> the ports which I had installed and still got no colors.

The Gnu ls, probably.  That should do it too.


More information about the freebsd-questions mailing list