I'm running CentOS in Linux text mode. When I run the command
ls /usr/, the output is too hard to read (dark blue on black). How can I change the text coloring?
If you are wanting to change your colours in the console, that is outside X, then you can specify colours in your
Where you are defining black as
If you are working in X, then you can customize your setup by defining your colours in your
and then sourcing this file when you start X, typically from your
The Arch Wiki has a page on .Xresources that explains all of the options: https://wiki.archlinux.org/index.php/Xresources
Another enhancement you can make either in X or not is to specify all of the different filetypes that you would like to colour—and their respective colours in a
To get started, copy
You can find (an incredibly detailed and thorough)
With a combination of all three approaches, you can create a reasonably uniform setup, whether you are working in the console or in X.
The file you want is