stty - Print or change terminal characteristics.
stty [-a|--all]
[-g|--save]
[-F|--file]
[-h|--help]
[-V|--version] [settings]
Print or change terminal characteristics.
print all current settings in human-readable form
print all current settings in a stty-readable form
<DEVICE>open and use the specified DEVICE instead of stdin
Print help
Print version
settings]settings to change
v(uutils coreutils) 0.10.0
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 <https://tldr.sh> under the CC BY 4.0 License. Please note that, as uutils is a work in progress, some examples might fail.