CLI Color and bash prompt.. some colored fun with prompts in bash
There are two ways to do it, one is with tput command. We will see that some other time, today we will consider the escape sequence way.
First we need to understand the colors as understood by bash. Some time back a fried of mine gave me this little script to find the colors. You can download it <a href="http://blog.amit-agarwal.co.in/2009/03/bash_colors" target="_blank">Script bash colors. Here is the script
#!/bin/bash
T=’amit agarwal’ # The test text
Continue reading