System Grab Bag

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

stty

Set options for a terminal device interface. More information: https://www.gnu.org/software/coreutils/stty.
  • Display all settings for the current terminal:
    stty --all
  • Set the number of rows or columns:
    stty {{rows|cols}} {{count}}
  • Get the actual transfer speed of a device:
    stty --file {{path/to/device_file}} speed
  • Reset all modes to reasonable values for the current terminal:
    stty sane

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.