cancel
Showing results for 
Search instead for 
Did you mean: 

Colours in ls

SOLVED
Go to solution
Shahril M
Frequent Advisor

Colours in ls

Hi,

When I run the ls command, the output is displayed in various colours. How can I keep it to one colour?

I am using a terminal emulator. I tried changing the colour config but it does not help.

TIA,
Shahril
2 REPLIES
I_M
Honored Contributor

Re: Colours in ls

Hi

Check out your alias.

$ alias

will show you what is registerd as alias.

If you want to erase your alias,
use "unalias".

Good luck
Craig Kelley
Valued Contributor
Solution

Re: Colours in ls

If you're running RedHat, you can just erase /etc/profile.d/colorls* to get rid of those annoying colors. I usually just edit the colorls scripts to read like this:

alias ls="ls -F"

(which I like _much_ better than the color output)