stty command in Linux is used to change and print terminal line settings. Basically, this command shows or changes terminal characteristics.
Syntax:
stty [-F DEVICE | --file=DEVICE] [SETTING]... stty [-F DEVICE | --file=DEVICE] [-a|--all] stty [-F DEVICE | --file=DEVICE] [-g|--save]
Example: It will display the characteristics of the terminal.
Options:
- stty –all: This option print all current settings in human-readable form.
stty --all
- stty -g: This option will print all current settings in a stty-readable form.
stty -g
- stty -F : This option will open and use the specified DEVICE instead of stdin.
Example:
stty -F D/
- stty –help : This option will display this help and exit.
stty --help
- stty –version: This option will show the version information and exit.
stty --version
Recommended Posts:
- bg command in Linux with Examples
- if command in linux with examples
- fg command in Linux with examples
- arp command in Linux with examples
- w command in Linux with Examples
- apt command in linux with examples
- cc command in Linux with Examples
- gdb command in Linux with examples
- ed command in Linux with examples
- cal command in Linux with Examples
- let command in Linux with Examples
- sum command in Linux with Examples
- rm command in Linux with examples
- more command in Linux with Examples
- last command in Linux with Examples
- tty command in Linux with examples
- mv command in Linux with examples
- seq command in Linux with Examples
- df command in Linux with Examples
- atd command in Linux with examples
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.






