NORMAL="echo -en \\033[0;39m"
SUCCESS="echo -en \\033[1;32m"
WARNING="echo -en \\033[1;33m"
FAILURE="echo -en \\033[1;31m"
it should work if you use this in a bash script ..
normal = black
succes = green
warning = yellow
failure = red ..
play with the last characters to get other colors 1;32, 1;22 .. and so on ..


Reply With Quote
Perfect, thanks a lot man! Woohoo! *does a happy dance*

Bookmarks