How to change folder color in terminal ?

Hi all,

I am really new to UNIX ..and can any1 help me on change the yellow color to blur color (folder) ? Please refer to the attached pictures ..

Your help is really appreciated .. :slight_smile: Have a nice day !

You are using Gnu ls with the --colors option. Modify the LS_COLORS variable contents to change its settings.

I have search thru the .login file, .cshrc file and I really can't found it .. sigh .. .. help ..
It is Sun Solaris 8 OS, in Common Desktop Environment ..

anyway thanks for your reply :slight_smile:

To get GNU ls you have to install the coreutils package for Solaris 8 from sunfreeware.com. Then create an alias like

alias ls /usr/local/bin/ls --color

in your .cshrc file and you are done.

hergp: The open poster isn't asking about how to have colored output but how to change one of the color used.

sauronlord: The setting might be in .dtprofile or can simply be the default color scheme, if one exists. What says:

echo $LS_COLORS

?
You can also disable the ls alias and have a regular (b&w) output.

Hi, thanks for the replies..

I have disable the alias color features, from

gls -F --color=tty

to

gls -F

in order to avoid the yellow color highlighted the folder name.

and yeah, when I enter this command , it's showed variable not defined.
echo $LS_COLORS