home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / disk-man / linux-fl.000 / linux-fl / linux-floppies / building-blocks / col2.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1996-04-05  |  315 b   |  13 lines

  1. #!/bin/sh
  2.   
  3.  
  4.  
  5. COLOR1="\033[37;44m"           # normal white  on blue 
  6. COLOR2="\033[1;6m\033[36;44m" #bright cyan on blue 
  7. COLOR3="\033[1;6m\033[31;40m" # bright red on black 
  8. COLOR_RESET="\033[0m" 
  9.  
  10. # Must use echo -e (enhanced)
  11. # \033 is an octal code for ESC (unprintable) character
  12. echo -e $COLOR1 Hi $COLOR_RESET
  13.