How to eliminate "ls" color in xterm -

Richard E Miles r.godzilla at comcast.net
Sat Sep 25 21:45:54 UTC 2004


>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.
>>
>>  
>>
>Ok "\ls" works, I thank you for that ...
>
>How can I change the colors?  The problem is that the Blue 
>directory
>listings are very difficult to read and as a result I have 
>been changing
>the xterm fg and bg settings in an attempt to improve things 
>without
>much improvement. If I make the bg white [set to gray now] 
>then I can't
>read some of the yellow text in the man pages. The colors 
>are helpful
>but I need to change them a little. What I really need to 
>know is what
>file contains the color settings? I have been unable to find 
>that.
>
>Thanks for the help.
>
>Bob Goodwin    Zuni, Virginia

You can change the colors by making chnages in the /etc/DIR_COLORS and
DIR_COLORS.xterm files.

-- 
Richard E Miles
Federal Way WA.
registered linux user 46097





More information about the fedora-list mailing list