1752767 Members
5370 Online
108789 Solutions
New Discussion юеВ

Re: 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 2
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)