Stty command example

Source: Internet
Author: User

Stty command example

You can use the stty-a command to view all terminal settings.

[Nm_appg ~] $ Stty-
Speed9600 baud; line = 0;
Rows = 41; columns = 132.
Min = 1; time = 1;
Intr = ^ C; quit = ^/; erase = ^ h; kill = ^ u
EOF = ^ d; EOL = ^ @; eol2 = <UNDEF>; swtch = <UNDEF>
Stop = ^ s; Start = ^ Q; susp = ^ Z; dsusp = <UNDEF>
Werase = <UNDEF>; lnext = <UNDEF>
Parenb-parodd cs7-cstopb hupcl-cread-clocal-loblk-CRTs
-Ignbrk brkint ignpar-parmrk-inpck istrip-inlcr-igncr icrnl-iuclc
Ixon-ixany ixoff-imaxbel-rtsxoff-ctsxon-ienqak
Isig icanon-iexten-xcase echo echoe echok-echonl-noflsh
Opost-olcuc onlcr-ocrnl-onocr-onlret-ofill-ofdel-tostop
EOF: the input ends.
Erase: Remove characters from the backend,
Intr: interrupt the current program
Kill: Delete the entire command
Quit: exit the current program
Start: Start screen output
Stop: Stop the screen output;
Susp: suspends the current program.

The format of modifying the value of a command is as follows:

[Nm_appg ~] $ Stty susp ^ Z so that you can change the operation command of susp to Ctrl + z

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.