{"id":95,"date":"2008-09-08T21:34:03","date_gmt":"2008-09-08T21:34:03","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2008\/09\/08\/bash-adding-coloured-text\/"},"modified":"2021-07-24T19:30:05","modified_gmt":"2021-07-24T19:30:05","slug":"bash-adding-coloured-text","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/UNIX\/Linux\/bash-adding-coloured-text.html","title":{"rendered":"BASH – Adding coloured text"},"content":{"rendered":"
This will simply print your text in red. <\/p>\n
echo -e ‘\\E[31mThis prints in red.’; tput sgr0<\/p>\n
If you need any further information or want to know how to add bold, underlining, or background colours to your text click here.<\/a> <\/p>\n","protected":false},"excerpt":{"rendered":" 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. <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[],"yoast_head":"\n