Click to See Complete Forum and Search --> : colors in terminal window
hplinux
10-31-2000, 08:03 PM
Does anyone know the scheme/significance of the font colors in a terminal window? For instance, when doing and ls -s command, you'll get directories in blue, looks like executables in green and then other files in a light-blue or aqua. I'm sure there's more, that's just a few. Any good source on what/why there colored this way?
Muzzafarath
11-01-2000, 07:09 AM
Take a look in /etc/DIR_COLORS.
ille_pugil42
11-01-2000, 08:54 AM
The default (IIRC) is Green=executable, Blue=Dir, Aqua=Symbolic Links, Grey=Other. You can change those settings in the aforementioned file.
kryliss
11-03-2000, 03:13 PM
I have noticed that when you are logged in as root you don't get the colors like a normal user.. try adding the following to your root .bashrc
eval `dircolors /etc/DIR_COLORS`
alias ls="ls --color=auto -F"