One of the applications I use at work sometimes screws with my bash and so I don't see my own input anymore. I.e.
$ echo foo
foo
$
becomes
$ foo $
I incorrectly tried to run stty -echo
which made matters worse and now it stopps accepting commands all together which put my input in some state that just causes >
to appear every time I line break and nothing else.
What should I have done?
reset
for a good start. Of course you cannot enter now any command into this terminal so from another one try something likecat >/dev/pts/3
where3
is your problematic terminal number and then hit the following keys:ESC
c
ENTER
Ctrl-D
.