Ctrl-s in-Linux shell , vi hangs , terminal freez
It happened to me a lot many times. While working on Linux terminal, sometime my terminal hangs due to some key strokes that I make in hurry. Was not sure which key combination did the terminal to freeze. At last I found that. Thought of sharing here.
Pressing Ctrl-s inside vi editor or in Linux shell freezes the shell as it locks the terminal output.
We need to press Ctrl-q to resume the terminal output.
source:http://unstableme.blogspot.com/2009/04/ctrl-s-in-linux-shell-vi-hangs.html