The pain of the LS folder in Linux system I will not say, in order not to hurt the eyes, the general SSH terminal background is used in black, folder is your mother's dark blue, every time you look at the folder to see the probe carefully. This is a complete solution to the problem.
because there is no dir_colors in the/etc/directory under Ubuntu, it took a bit of effort. 1. Using the dircolors command, view our system's current file name display color values, and then use the pipeline to redirect to any file under the user directory (here we have created a. dircolors file)Command 1:CD ~command 2:dircolors-p >. dircolors 2. Open the. dircolors file with Vim, then locate "dir 01;34" and modify it to "dir 01;35" to save the exit. (Here 01 indicates high brightness display, 34 for blue, 35 for magenta) 3. In order for the changes to take effect, exit and re-enter the systemcommand: Exit Style:00-normal (no color, no bold)01-bold//Boldtext color30-black//Black31-red//Red32-green//Green33-yellow//Yellow34-blue//Blue35-magenta//Magenta36-cyan//blue-Green37-white//WhiteBackground Color40-black41-red42-green43-yellow44-blue45-magenta46-cyan47–white White: Indicates normal file blue: Indicates directory green: Indicates executable file red: Indicates compressed file cyan: Link file flashing red: There is a problem with the linked file yellow: Indicates that the device file is gray: indicates a different file
Ubuntu Modified LS Display color