Possible Duplicate:
Prettify OS X console by coloring output?

On Linux (e.g. Ubuntu) the terminal shows you executables and folders and such in different colors so you can identify them easier. Is this possible on Mac OS Terminal, too?

marked as duplicate by Nathan Greenstein Jul 22 '11 at 13:37

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


To add color output of the ls command, you need to edit your ~/.bash_profile and add:

export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad

This is just an example, look at the ls manpage on how to change specific color values.


Search a bit first, and only after ask - please. Exact duplicate.

This was answered in my old answer already. ;)

  • Should have done that... I admit I was lazy this time. Thanks for the links, though! :-) – Aufwind Jul 22 '11 at 13:47
  • Another good answer is here -> apple.stackexchange.com/a/33679 – blong Nov 9 '12 at 13:47

Not the answer you're looking for? Browse other questions tagged .