System Grab Bag

View all TLDR pages from common (or from all pages)

tput

View and modify terminal settings and capabilities. More information: https://manned.org/tput.
  • Move the cursor to a screen location:
    tput cup {{row}} {{column}}
  • Set foreground (af) or background (ab) color:
    tput {{setaf|setab}} {{ansi_color_code}}
  • Show number of columns, lines, or colors:
    tput {{cols|lines|colors}}
  • Ring the terminal bell:
    tput bel
  • Reset all terminal attributes:
    tput sgr0
  • Enable or disable word wrap:
    tput {{smam|rmam}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.