BASH – Fix The Display and Console Gibberish on a Linux / Unix / OS X / BSD Systems

Posted on in Categories Linux, RedHat/Fedora Linux, Shell scripting, Suse Linux, Sys admin, Tips, Troubleshooting, Ubuntu Linux, UNIX last updated December 9, 2014

Sometime my R & D result into weird output on screen. For example, accidentally I run cat command over binary file – cat /sbin/*. You will be not able to access your bash/ksh/zsh based terminal. It will be full of wired character sequences that can lock down your display. These characters will hide what you type or character displayed into strange symbols. To clear gibberish all over the screen use the following method.