Friday, 27 January 2012

Demangling a console session

We've all done it, cat'd a binary or directory by mistake an ended up with garbage on the screen...

Turns out its simple to clear.

 $ cat  
 Esc-( Esc-A  
 Esc-) Esc-A  
 ctrl-d  

Your command line should return back to normal characters, and it seems to prevent it happening again.

No comments: