CentOS System Modify the display color of the Create folder directory _linux

Source: Internet
Author: User
Tags centos

Objective

Linux system default directory color is blue, in the black background is not clear, you can use the following 2 ways to modify the LS view color.

Method:

1, copy/etc/dir_colors file is the current home directory. Dir_colors

Cp/etc/dir_colors ~/.dir_colors

2, modify the color of dir in ~/.dir_colors

Vim ~/.dir_colors

Locate the following line:

   DIR 01;34 (01: Bold, 34: Blue)

To

   DIR 01;33 (01: Bold, 33: Yellow)


Explain:

The specific code for the effect is as follows

1) Effect list:

00 Default

01 Bold

04 Underline

05 Flashes

07 Reverse Display

08 Hidden

2) Color list

31~37 The foreground color is red, green, orange, blue, purple, green, gray, respectively

90~97 The foreground color is dark gray, reddish, light green, yellow, blue, violet, turquoise, white

40~47 The background color is black, red, green, orange, blue, purple, green, gray, respectively.

100~106 The background color is dark gray, red, light green, yellow, pale blue, violet, turquoise

Summarize

The above is the entire content of this article, I hope the content of this article for everyone's study or work can bring certain help, if you have questions you can message exchange.

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.