BASH - Adding coloured text
Monday, 08 September 2008 21:34

This will simply print your text in red. 

echo -e '\E[31mThis prints in red.'; tput sgr0

If you need any further information or want to know how to add bold, underlining, or background colours to your text click here. 



 
We have 57 guests online