Thursday, February 19, 2004

Of bash colors, ls colors

The colors that you see when you type "ls" in bash come from an environment variable called LS_COLORS. The LS_COLORS variable can be set from a configuration file using the command called dircolors and the actual file is called dir_colors.

I dug around a bit in man and info pages for ls, dircolors and dir_colors, and the most useful information seems to be the man page for dir_colors. You can access this page by typing man dir_colors at the console, or, you can click man dir_colors