STTY(1)

πŸ“¦
version 0.12.0 Β· 4 versions
, in ubuntu stonking

✨ 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 that stty itself 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