Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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 Overflow
"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #colored #text #bash
ADD COMMENT
Topic
Name
4+9 =