Advertisement
jwetoszka

bash text colors

Dec 13th, 2021
911
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.11 KB | None | 0 0
  1. red=`tput setaf 1`
  2. green=`tput setaf 2`
  3. reset=`tput sgr0`
  4. echo "${red}red text ${green}green text${reset}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement