Environment settings for the terminal of the Bash shell usage environment: stty

Source: Internet
Author: User
Environment settings for the terminal of the Bash shell usage environment: stty Environment settings for the terminal of the Bash shell usage environment: stty
  • STTY-A Lists all the current stty parameters to
  • INTR: Sending an interrupt signal to a running program
  • Quit: Send an exit signal to a running program
  • Erase: Delete characters forward
  • Kill: Delete the text on the command line
  • EOF: End of file, input end
  • Start: Restart the paused output
  • Stop: Stop the current output
  • Susp: Send a terminal stop signal to a running program
  • Rprnt: Prompt used history command when entering command
  • Werase: Delete the last word of the command line

^ can be understood as the CTRL key, so intr shortcut keys are CTRL + C

For example, press the Ctrl+r

This is the reverse Search History command, press S

Automatically find the command you just entered ssty -a , enter

Run command
As !s is the case, press ENTER to execute the most recently executed command starting with S

For Ctrl+u (Kill) is to delete the entire line of command, Ctrl+w (werase) is to delete the most recent command
For example, enter

Press the Ctrl+u

If you press the CTRL+W

Environment settings for the terminal of the Bash shell usage environment: stty

Related Article

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: info-contact@alibabacloud.com 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.