Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
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)