The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 03-18-2008
frajer frajer is offline
Registered User
  
 

Join Date: Sep 2005
Location: Slovenija
Posts: 20
What exactly change text colour and/or bold/offbold?

red: echo "\033[1;31mhi\033[m"
green: echo "\033[1;32mhi\033[m"
yellow: echo "\033[1;33mhi\033[m"
blue: echo "\033[1;34mhi\033[m"

Franci

Last edited by frajer; 03-18-2008 at 05:25 AM..