Linux and Unix tput command
Initialize a terminal or query terminfo database.
tput [-T Type] capname [parm]
tput -S <<
|-T Type||Indicates the type of terminal. Normally this option is unnecessary, because the default is
taken from the environment variable TERM. If -T is specified, then the shell variables LINES and COLUMNS and the layer size will not be referenced.
|capname||Indicates the capability attribute from the terminfo database.
The following strings will be supported as operands by the implementation in the "C" locale:
|parm||If the attribute is a string that takes parameters, the argument parm will be instantiated into the string. An all numeric argument will be passed to the attribute as a number.|
|-S <<||Allows more than one capability per invocation of tput . The capabilities must be passed to tput from the standard input instead of from the com mand line (see the example in the Examples section). Only one capname is allowed per line. The -S option changes the meaning of the 0 and 1 boolean and string exit statuses (see the EXIT STATUS section).|
In the below example, the screen would be cleared and move down 10 lines and over 10 spaces and should bold the prompt if supported.
tput -S <<!
> cup 10 10> bold