9 UNIX / Linux tput Examples: Control Your Terminal Color and Cursor

tput command is used to query the terminfo terminal database and check if that terminal supports a specific feature. tput command accepts the terminal commands and output the control code sequences for that terminal. Using tput you can control the color and cursor of your terminal as explained in this article.