Revive a shell that is not working any more
If your shell seems frozen
You probably pressed Ctrl-S
which stops the buffer. Try Ctrl-Q
to resume.
If your shell behaves strangely (no input being displayed, strange character output)
Try typing this, followed by pressing the return key:
reset
That should clear the screen and reset output settings etc.