Cores em Shell Script

echo -e "\e[32;1m[ verde ]\e[m txt"
echo -e "\e[31;1m[ vermelho ]\e[m txt"
echo -e "\e[33;1m[ amarelo ]\e[m txt"
echo -e "\e[34;1m[ azul ]\e[m txt"
echo -e "\e[37;1m[ branco ]\e[m txt"

*Para alterar a cor de fundo adicione +10 a cada codigo numerico

echo -e "\e[41;1m[ fundo vermelho ]\e[m txt"
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s