Advertisement
jwetoszka

bash text colors

Dec 13th, 2021
831
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. red=`tput setaf 1`
  2. green=`tput setaf 2`
  3. reset=`tput sgr0`
  4. echo "${red}red text ${green}green text${reset}"
Advertisement
RAW Paste Data Copied
Advertisement