Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

stty

v(uutils coreutils) 0.1.0

Options

--all, -a

stty-option-all

--save, -g

stty-option-save

--file=<DEVICE>, -F <DEVICE>

stty-option-file

stty-option-settings

Examples

Display current terminal size:

stty size

Display all settings for the current terminal:

stty {{[-a|--all]}}

Set the number of rows or columns:

stty {{rows|cols}} {{count}}

Get the actual transfer speed of a device:

stty {{[-F|--file]}} {{path/to/device_file}} speed

Reset all modes to reasonable values for the current terminal:

stty sane

Switch between raw and normal mode:

stty {{raw|cooked}}

Turn character echoing off or on:

stty {{-echo|echo}}

Display help:

stty --help

The examples are provided by the tldr-pages project under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.