reset the terminal

Written in

by

Ever being in situation when you accidently cat binary file which completly messed up your terminal? Then there is a reset command. But what if it doesn’t help? Then you can use following escape sequence:

echo CTRL+V ESC c ENTER

which show up (if you could see it) as

echo ^[c