Here's a simple tip on how to remove non-printable and garbage characters from your screen and reset all characters to normal view without disconnecting your current ssh session.
This tip is quite handy and useful when you are encounter these scenario from playing with special linux files.
An example of garbage or non-printable characters are shown below.

And here is how to reset and clear them from your screen, simply issue
# reset
Reset linux command initialize your current terminal session including character mapping and control character from your screen terminal.
How to achieve a garbage or garbled screen character? Simply do as follows
# cat /dev/urandom
Hit Ctrl+C, and executing the above command shows a continuous garbled characters being scrolled up from your screen.
Another way to reproduce a garbled and scrambled set of screen characters is to issue
# cat /etc/localtime
To reset your terminal screen characters, use this reset command. Reset linux command clears those garbage away.
No comments:
Post a Comment
Thanks for the comment and for peeping into my blogspot. Hope you enjoy your reading them.
If you wish to receive posts updates, you can subscribe directly from this link:
http://feeds.feedburner.com/VertitosBlogspot
using any RSS reader or even Google Reader.
Again, appreciate your site visits.
Cheers then
VeRTiTO
Email: vertito@gmail.com