it-db.com
Add text color to Linux bash scripts - ITDB
Bash supports coloring text, but I never remember the syntax, so here’s a little cheat sheet. During my little research it also seems you can enter the color codes in two ways as illustrated below: echo -e "\033[0;32m Hello world!"echo -e "\e[32m Hello world!" Some more examples: I’m not sure if there’s any reason to … Continue reading Add text color to Linux bash scripts