How to fix a terminal after a binary file has been dumped inside it?
I think reset
would definitely fix it.
Consider looking into man page.
Example:
[m0nhawk@terra:~]> cat /dev/urandom
êIÉè;┤Ü)MåÇ▐¿÷¢§ôWdO┘&!π¡
[└█┼░▒┬┐@├err▒:·]> c▒├ /de┴/┤r▒┼do└
And reset
fixes this.
Typing the command stty sane
should fix it.
Best solution I've found is:
echo <ctrl-v><esc>c<enter>
I alias this to "unbinary"