When using vi to edit documents on linux systems from time to time I press Ctrl-S to save my changes – damn Windows shortcuts This kind of freezes the shell because it locks the terminal output.
If this happens to you press Ctrl-Q which causes the shell to resume terminal output. See this blog for more linux terminal shortcuts.
thank you!