commands.sh

stty

all

Set or get options for a terminal device interface. See also: `tput`.

More info →

Options (2)

-a, --allboolean

Display all settings for the current terminal

Example: stty {{[-a|--all]}}
-F, --fileboolean

Get the actual transfer speed of a device

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

Examples (8)

Display current terminal 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
made by @shridhargupta | data from tldr-pages