I use putty with a black background and was wondering if there was or is a way to change the colors of the dirs which are dark blue.
i noticed DIR_COLORS.xterm and DIR_COLORS
do they play this role?
It depends on the version of Linux your using, for example on Ubuntu you edit the Bash File while on others you edit the DIR_COLORS.
Step 1 - Copy the DIR_COLORS to your home folder or skip this for all accounts.
Step 2 - Edit the DIR_COLORS (If you copied it to your home folder, otherwise just vi dir_colors
Step 3 - Find
Step 4 - Replace with (Change the 33 with the color you want)
You may need to do this in the Xterm file as well, but generally that is more local.
Step 1 - Ubuntu Backup the Bash File First
Step 2 - Then nano the Bashrc File
More help for Ubuntu users can be found here.
You can modify
PuTTY uses its own colour specs for emulating X terminals. It is under the Window -> Colours category in the main configuration window you get on startup. In the section 'Adjust the precise colours PuTTY displays' you can edit entries in the 'Select a colour to adjust' box. The usual directory colour, for example, is ANSI blue. I find this too dark, so I lighten it to (74,74,255).
To enable colours in a standard bash session under most distros (and certainly Debian-like things such as Ubuntu,) first test for the existence of the