OS Manuals

/usr/bin/tput

console display library

From ncurses 6.6.20261107-r0 (os), captured 2026-11-09 by running tput --help (exit 2). permalink

/usr/bin/tput: invalid option -- '-'
Usage: tput [options] [command]

Options:
  -S <<       read commands from standard input
  -T TERM     use this instead of $TERM
  -V          print curses-version
  -v          verbose, show warnings
  -x          do not try to clear scrollback

Commands:
  clear       clear the screen
  init        initialize the terminal
  reset       reinitialize the terminal
  capname     unlike clear/init/reset, print value for capability "capname"
Options (5)
OptionDescriptionSource
-Sretrieves more than one capability per invocation of tput.help + man
-T TERMuse this instead of $TERMhelp
-Vreports the version of ncurses associated with tput, and exits with a successful status.help + man
-vcauses tput to operate verbosely, reporting warnings.help + man
-xprevents “tput clear” from attempting to clear the scrollback buffer.help + man
Examples (2) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.