How can I fix a terminal session if it begins to display corrupt characters?
Under certain circumstances - if a non-text file is opened, for example - the characters in a terminal may become corrupt and unreadable. This renders the terminal unusable. For example:
[root@rhel ~]# cat /bin/ls
...
⎽├⎼␌└⎻├␌±␊├⎻±⎼⎻ __┌␋␉␌_⎽├▒⎼├_└
▒␋┼ ␍␋⎼°␍ ⎽├⎼␌⎺┌┌ __⎺┴␊⎼°┌⎺┬ _
_⎽├...Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
