Skip to content
Search

Stty

lastmod 2024-08-13created 2020-04-212 edits

Changes TTY settings.

List of commands

stty -a
Shows all current settings. (printed to the screen)

Default configuration

Setting command

Default key

Meaning

erase

^?

Deletes one typed character ( ^? is the DELETE key / ^H is commonly set as the backspace key )

kill

^u

Deletes the entire typed line

intr

^c

Terminates the running process

quit

^\

Aborts the current process with a core dump

eof

^d

Signals end of file (end of input)

eol

^d

End of line

eol2

^d

Alternate character to end a line

swtch (np)

^d

Switches to a different shell layer

start

^q

Starts output to the screen

stop

^s

Stops output to the screen

susp

^z

Suspends the current process (pause)

dsusp (np)

^y

Flushes input and then suspends the process

rprnt (np)

^r

Redraws the screen

flush

^o

Immediately discards stty input and output

werase (np)

^w

Deletes one typed word

inext (np)

^v

Enters the next character literally, even if it is a special character

See also

Favorite site

author Zer0 sitemap