i am using ubuntu 11.04 and i just finished writing a shell script but i was wanting to know if their is a way to change the font color of just one sentence?
ANSI color codes?
echo -e '\033[0;31mhello' will make red for example.
have a look at ASCII Table - ANSI Escape sequences
\033 is ESC in octal. End with 0m to return to normal
mute@geek:~/test$ echo -e '\033[0;31mred\033[0;32mgreen\033[0;34mblue\033[0mnormal'
redgreenbluenormal
thanks for the help! it worked!