UnixPedia : HPUX / LINUX / SOLARIS: UNIX : COLOR CODE

Sunday, November 2, 2014

UNIX : COLOR CODE


 Generally Unix is backscreen, but we can do little creativative with "echo " and color can be added to unix screen.




color code  : below command when execute on the system color text will be displayed.

Red:      echo "\033[1;31m`banner UNIX`\033[m"
Green:  echo "\033[1;32m`banner UNIX`\033[m"
Yellow: echo "\033[1;33m`banner UNIX`\033[m"
Blue:     echo "\033[1;34m`banner UNIX`\033[m"




No comments:

Post a Comment