How to modify the color of creating folder directory in linux
Editor to share with you how to modify the color of the folder directory in linux. I hope you will get something after reading this article. Let's discuss it together.
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 found the following line: DIR 01: 34 (01: bold, 34: blue) changed to: DIR 01: 33 (01: bold, 33: yellow) centos system creates folder directory display color centos system creates folder directory display color explanation:
The specific code of the effect is as follows
1) list of effects:
00 default 01 bold 04 underline 05 flashing 07 reverse 08 hidden
2) Color list
31-37 indicates that the foreground colors are red, green, orange, blue, purple, cyan, gray 90-97, respectively, that the foreground colors are dark gray, light red, light green, yellow, light blue, lavender, cyan, white 40-47, respectively, that the background colors are black, red, green, orange, blue, purple, cyan, gray 100-blue 106, respectively, that the background colors are dark gray, light red, light green, yellow, light blue, light blue, lavender, Turquoise
After reading this article, I believe you have a certain understanding of "how to modify the color of creating folder directories in linux". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!