Changing the Directory Color in the Bash Shell

While running Linux distribution,  I often found it that I could hardly see directory names due to dark color (well, it is dark blue in black background, which is hard to believe why this combination is chosen)

Thanks to this posting, I could change the color. Here’s a simple way.

1. Open .bashrc in your home directory.
2. Create the following entry. Check out the [value] below. The first number is the degree of darkness, followed by a semicolon, and then the actual number of the color.

3. Restart bash shell.

Leave a Reply

Your email address will not be published.