STTY(1)
β¨ STTY β bestie's guide to your terminal's whole personality β¨
okay so this is stty from the General Commands Manual, and honestly? it's giving main character energy for something that just pokes at your terminal π
π NAME π
stty β Print or change terminal characteristics.
like, it reads your terminal's vibe and it can also fully rewrite the vibe. both. slay. π
π¦ SYNOPSIS π¦
stty [-F DEVICE | --file=DEVICE] [SETTING]...
or: stty [-F DEVICE | --file=DEVICE] [-a|--all]
or: stty [-F DEVICE | --file=DEVICE] [-g|--save]
three whole modes, bestie. you're either changing settings, dumping all of them, or saving them somewhere safe. choose your fighter π
πΈ DESCRIPTION πΈ
Print or change terminal characteristics.
that's it. that's the whole thing. it prints them, it changes them, it's iconic, periodt π
β¨ OPTIONS β¨
-a,--allβ spill all the current settings, in a form a human can actually read π-g,--saveβ spill all the current settings in a form thatsttyitself can read back later (so like, a save file for your terminal's whole situation) πΎ-F,--file <DEVICE>β open and use the DEVICE you name instead of stdin, iykyk π«Ά-h,--helpβ print help-V,--versionβ print version[settings]β the settings you wanna change. yeah that's the whole description, lowkey perfect π
π VERSION π
v(uutils coreutils) 0.12.0
π§ 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
(not me whispering "pls be sane" every time I type this π)
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.
like bestie said: examples come from tldr-pages <https://tldr.sh>, CC BY 4.0 License, and heads up β uutils is still a work in progress so some of these might just... not work. no cap. π
okay that's the whole page! this one's from the uutils coreutils crew, version 0.12.0, and the page is dated 2026-09-25 β STTY(1), that's the whole vibe check π bye bestie, go stty sane yourself π
π¦ where this page comes from
- ubuntu stonking: rust-coreutils 0.12.0-1ubuntu2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms