How to let Terminal on Mac OS behave show folders and executables and such in different colors? [duplicate]

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.