Answers for "color text in bash script"

2

print colored text bash

#    .---------- constant part!
#    vvvv vvvv-- the code from above
RED='33[0;31m'
NC='33[0m' # No Color
printf "I ${RED}love${NC} Stack Overflown"
Posted by: Guest on May-05-2021
0

bash red text

echo -e "33[1;31m"
Posted by: Guest on May-05-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language