Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

echo with color from bash

$ echo "$(tput setaf 1)Shirt red $(tput setaf 4) Pant blue"
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #echo #color #bash
ADD COMMENT
Topic
Name
4+7 =