Re: How to eliminate "ls" color in xterm -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2004-09-25 at 06:00, Michael Schwendt wrote:
> On Sat, 25 Sep 2004 05:14:26 -0400, Bob Goodwin wrote:
> 
> > How can I eliminate color in "ls" listings?
> > 
> > In .bashrc  can add    alias ls='ls --color=never'
> > 
> > But this does not change the listing in the gui terminal window.
> > 
> > There must be a place to "alias" ls  for something like    ls -l --si 
> > --color=never  ?
> 
> I type \ls instead of ls when I don't want the colours.


if you do 'alias' you will see the line
      alias ls='ls --color=tty'
Thus ls is aliased to include the colors.

If you never want the colors, just remove that alias from your startup
scripts.
If instead you want to occasionally not have the colors then use \ls to
execute the non-aliased version of ls.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux