[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

RE: colour file listing with ls - help



just another tip:
you'd better put this "alias ls='ls -F --color=tty"
this will use colors only when the output is directed to a tty.
look at the difference when you direct it to a text file ( ls >   
/tmp/foobar)

pascal

> -----Original Message-----
> From: Rajesh Fowkar [mailto:rfowkar@xxxxxxxxxxxxxxx]
> Sent: Saturday, July 17, 1999 10:29 PM
> To: linux-india@xxxxxxxxx
> Subject: Re: colour file listing with ls - help
>
>
> Hello Everybody,
>
> Thanks Ravi. It worked.
>
> Will keep in touch,
>
> Rajesh
>
> On Sat, 17 Jul 1999, you wrote:
> > On Sat, Jul 17, 1999 at 07:14:29PM -0400, Rajesh Fowkar wrote:
> > -> Can anybody tell me where should I make the change to
> get color listing.
>  I have
> > -> created a script called l
> >
> >  add " alias ls='ls -F --color' " to a file by name .bashrc [or
> > .bash_profile] that resides in your home directory
> >
> > --
> > With Regards,
> >
> > S Ravi Shankar
> >
> > --------------------------------------------------------------------
> > For more information on Linux in India visit
> http://www.linux-india.org/
> > Please do not post HTML email
> to this mailing list.  HTML mails will be
> > thoroughly ignored and derisively sniggered at in private.
> --
> **************************
> Shriram alias Rajesh Fowkar
>
> -------------------------------------------------------------------
> UNIX, MS-DOS and Windows
> Also know as
> The Good, The BAD and the _UGLY_
> -------------------------------------------------------------------
>
>
> --------------------------------------------------------------------
> For more information on Linux in India visit
> http://www.linux-india.org/
> Please do not post HTML email to
> this mailing list.  HTML mails will be
> thoroughly ignored and derisively sniggered at in private.
>   

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Please do not post HTML email to this mailing list.  HTML mails will be
thoroughly ignored and derisively sniggered at in private.

------------------------------