Created
March 8, 2009 12:00
-
-
Save mbadran/75744 to your computer and use it in GitHub Desktop.
shell colours
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Attribute codes: | |
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed | |
# Text color codes: | |
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white | |
# Background color codes: | |
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white | |
# Shell text formatted bold red | |
echo -e "\033[01;31mhello world\033[00m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment