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

Re: colour file listing with ls - help



Hi Raja,

What we are talking is indeed bash shell.

Put alias ls='ls -F --color=auto' in /etc/bashrc.

Rajesh

On Tue, 20 Jul 1999, you wrote:
> Hello,
> 
> Will this alias work if i say  "ls /home"?
> Is there a way to do this in bash?
> In csh, it is " alias ls  'ls -F --color \!*' "
> 
> Thanks
> Raja.
> 
> Rajesh Fowkar wrote:
> 
> > 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/
> The Linux India mailing list does not accept postings in HTML format.
- --
**************************
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/
The Linux India mailing list does not accept postings in HTML format.

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