Many colleagues who have just moved from Windows to Linux are often accustomed to press CTRL + S to save their content when they edit a program with VIM. As everyone knows, this is not tight, the entire terminal is no longer responsive.
In fact, CTRL + S in the terminal is a special purpose, that is to suspend the terminal, this function has no practical use, has not been used, is not clear. To quit this state, let the terminal continue to run, very simple, press CTRL + Q on the line.
Think that year, just started with Linux, accidentally press CTRL + S, do not know how to deal with, had to restart the computer.
Here are some other special buttons:
Ctrl + C aborts the currently executing program.
Ctrl + D corresponds to the exit command, exiting the current session.
Ctrl + Z puts the currently running program in the background. Similar to run time plus &.
The Tab key automatically complements the command.
In a bash script, a trap command can be used to suppress a response to a number of key functions on the screen.