Changing the Linux terminal colors

If you have directory in the terminal window blending into the background, changing the color scheme of the terminal will not help.

Try this instead.

Add the following line to .bashrc (and also do a source .bashrc).

LS_COLORS="di=4;36:ex=3;32"

di is for directory
ex is for executable
di="[0:no effect, 1: bold, 3: italic, 4=underline, 5=blinking];[fg color]"

Experiment with the foreground color [fg]. 32=green, 34=blue etc.

If anyone has any other Linux terminal tips, add in the comments below.

Leave a comment