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

last updated in Categories Linux, RedHat/Fedora Linux, Shell scripting, Suse Linux, Sys admin, Tips, Troubleshooting, Ubuntu Linux, UNIX

Sometimes my R & D result in the weird output on the 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.