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