[Cialug] LS ?

David Champion dchampion at visionary.com
Fri Apr 27 10:35:12 CDT 2007


Nathan Stien wrote:
> On 4/27/07, albus <albus at iowaconnect.com> wrote:
>> How in the world do you turn off colors in LS?
>>
>> I've tried ls --color=never but that only seems to work for
>> the one time listing. Then the colors are back the next ls.
> 
> The options only apply to that particular run.  To make it more
> permanent, you can do this in your ~/.bashrc:
> 
> alias ls='ls --color=never'
> 
> Now when you type ls, the alias will invoke the real command with the 
> option.
> 
> That might not be the best possible way, but it's my lazy way of doing
> it.  For your already running shells, you'll need to ". ~/.bashrc" to
> apply the setting.
> 
> I'm sure others will chime in with alternative approaches.
> 
>> I hates blue letters on a black background.
> 
> Ah, I love 'em.  To each their own.
> 

In RedHat, the shade of blue is so dark you can barely read it. In 
Mandriva & debian, it's a lot lighter.

You can change it, but it's yet another PITA about RH.

-dc




More information about the Cialug mailing list