Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. # Text color - normal
  2. fgblack="$(tput setaf 0)" # Black
  3. fgred="$(tput setaf 1)" # Red
  4. fggreen="$(tput setaf 2)" # Green
  5. fgyellow="$(tput setaf 3)" # Yellow
  6. fgblue="$(tput setaf 4)" # Blue
  7. fgpurple="$(tput setaf 5)" # Purple
  8. fgcyan="$(tput setaf 6)" # Cyan
  9. fgwhite="$(tput setaf 7)" # White
  10.  
  11. # Text color - bright
  12. bfgblack="$(tput setaf 8)" # Black
  13. bfgred="$(tput setaf 9)" # Red
  14. bfggreen="$(tput setaf 10)" # Green
  15. bfgyellow="$(tput setaf 11)" # Yellow
  16. bfgblue="$(tput setaf 12)" # Blue
  17. bfgpurple="$(tput setaf 13)" # Purple
  18. bfgcyan="$(tput setaf 14)" # Cyan
  19. bfgwhite="$(tput setaf 15)" # White
  20.  
  21. # Background color - normal
  22. bgblack="$(tput setab 0)" # Black - Background
  23. bgred="$(tput setab 1)" # Red
  24. bggreen="$(tput setab 2)" # Green
  25. bgyellow="$(tput setab 3)" # Yellow
  26. bgblue="$(tput setab 4)" # Blue
  27. bgpurple="$(tput setab 5)" # Purple
  28. bgcyan="$(tput setab 6)" # Cyan
  29. bgwhite="$(tput setab 7)" # White
  30.  
  31. # Background color - bright
  32. bbgblack="$(tput setab 8)" # Black - Background - Bright
  33. bbgred="$(tput setab 9)" # Red
  34. bbggreen="$(tput setab 10)" # Green
  35. bbgyellow="$(tput setab 11)" # Yellow
  36. bbgblue="$(tput setab 12)" # Blue
  37. bbgpurple="$(tput setab 13)" # Purple
  38. bbgcyan="$(tput setab 14)" # Cyan
  39. bbgwhite="$(tput setab 15)" # White
  40.  
  41. # Other attributes
  42. normal="$(tput sgr0)" # text reset
  43. bold="$(tput bold)" # make bold
  44. underline="$(tput smul)" # underline
  45. nounderlin="$(tput rmul)" # remove underline
  46. mkblink="$(tput blink)" # make blink
  47. reverse="$(tput rev)" # reverse
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement