Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

colored text???

Status
Not open for further replies.

otis82

Technical User
Jun 10, 2003
2
US
what woudl be the best way to change the color of my output from a shell script???

silly question i know, but i have never run into this before.

thanks in advance.

-c
 
There's a FAQ in the awk forum on this subject : faq271-2920
It depends upon your terminal emulator, too
try :
echo '\033[5;41;1;37m *** STOP *** \033[0m'

for starters
HTH

Dickie Bird (:)-)))
 
i am using linux redhat, and this did teh trick nicely. i am tweaking around with it now. thanks.

-c
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top