Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a mapping of ANSI colors to their syntax in a given shell?

For example, in BASH, Blue seems to be Folders and Green seems to be executable files.

Does a list exist for what ANSI colors mean in BASH, SSH, VI, etc.?

share|improve this question
Most of it is customizable, too. Vim has a whole plethora of colorschemes on-line, if you're willing to look. – new123456 Jul 24 '11 at 15:22
up vote 0 down vote accepted

No, there is no universal mapping. /etc/DIR_COLORS or ~/.dir_colors gives the colors that ls uses; for everything else, consult the relevant documentation.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.