≡ Menu

stty command

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

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.
[click to continue…]