Set terminal I/O options for the current standard input device. Without options, stty reports the terminal settings that differ from those set by running stty sane, where ^ indicates the Ctrl key and ^` indicates a null value. Most modes can be negated using an optional - (shown in brackets). The corresponding description is also shown in brackets. Some arguments use non-POSIX extensions; these are marked with *.
Report all option settings.
Open the specified device and use it instead of standard input.
Report settings in stty-readable form (i.e., hex).
Print help message and exit.
Print version information and exit.
Set terminal baud rate to n (e.g., 2400).
[Enable] disable modem control.
[Disable] enable the receiver.
[Disable] enable RTS/CTS handshaking.
Set character size to bits, which must be 5, 6, 7, or 8.
 2 stop bits per character.
[Do not] hang up connection on last close.
Same as previous.
Set terminal input baud rate to n.
Set terminal output baud rate to n.
[Disable] enable parity generation and detection.
Use [even] odd parity.
The following flow control modes are available by combining the ortsfl, ctsflow, and rtsflow flags:
Flow control mode
ortsfl rtsflow ctsflow
Enable unidirectional flow control.