Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to modify the display color of the folder directory created by the centos system

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains the "centos system how to modify the folder directory to create the display color", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "centos system how to modify the folder directory display color" it!

Preface

The default directory color of the linux system is blue and cannot be seen clearly under a black background. You can modify the color viewed by ls in the following two ways.

Methods:

1. Copy / etc/dir_colors file to the .dir _ colors of the current home directory

Cp / etc/dir_colors ~ / .dir_colors

2. Modify the color corresponding to dir in ~ / .dir_colors

Vim / .dir_colors

Find the following line:

Dir 01: 34 (01: bold, 34: blue)

Change to:

Dir 01: 33 (01: bold, 33: yellow)

Explanation:

The specific code of the effect is as follows

1) list of effects:

00 default

01 bold

04 underline

05 flicker

07 reverse display

08 Hidden

2) Color list

31-37 indicates that the foreground colors are red, green, orange, blue, purple, cyan and gray respectively.

90-97 indicates that the foreground colors are dark gray, light red, light green, yellow, light blue, lavender, cyan and white, respectively.

40-47 indicates that the background colors are black, red, green, orange, blue, purple, cyan and gray respectively.

100-106 indicates that the background colors are dark gray, light red, light green, yellow, light blue, lavender and turquoise respectively.

Thank you for your reading, the above is the "centos system how to modify the creation of folder directory display color" content, after the study of this article, I believe you on the centos system how to modify the creation of folder directory display color of this problem has a deeper understanding, the specific use of the situation also needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report