The next command prints the number of columns for the current terminal. The following command prints the number of columns for the 450 terminal. The next example sets the shell variables bold, to begin stand-out mode sequence, and offbold, to end standout mode sequence, for the current terminal. This next example sends the sequence to move the cursor to row 23, column 4. This last example shows tput processing several capabilities in one invocation.
TERM Determine the terminal type.
If capname is of type string and -S is not specified, indicates capname is defined for this terminal type. If capname is of type boolean or string and -S is specified, indicates that all lines were successful. If capname is of type string and -S is not specified, indicates that capname is not defined for this terminal type. 2 Usage error. No information is available about the specified terminal type.