How to change the color (blue) of the RedhatLinuxAS4ls folder

Source: Internet
Author: User
How to change the color (blue) of the RedhatLinuxAS4ls folder-Linux Enterprise Application-Linux server application information. See the following for details. On the text interface, the Red Hat uses blue as the color of the ls directory and matches it with his black background. It feels too dark to see clearly.

Change to another color:

First

# Vi/etc/DIR_COLORS

"DIR 01; 34", which is the color of the ls command directory. 01 indicates bold, and 34 indicates blue.

I changed it to "DIR 01; 37; 44". 37 is in white font, 44 is in blue background, and the visual effect is acceptable.

Then, execute

# Eval 'dircolors/etc/DIR_COLORS'

Note that the 'symbol in the command is Keyboard ~ The one under the symbol. Do not make a mistake.

Then execute the ls command to check the effect.

Note:

1: My environment is Redhat linux AS4.

2: I also want to know how to change the blue content in the text with vim to another color. I do not know the method for the moment. If I want to know it, I can give a prompt ~.

3.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.