2 ms·
stty - sane Very handy if you do something silly like cat a binary file without piping it into strings -a This restores the terminal settings and sanity resto
by Zenst 12y ago
stty - sane
Very handy if you do something silly like cat a binary file without piping it into strings -a
This restores the terminal settings and sanity restored. Note you will often find yourself typing without seeing anything, least until you enter and execute the sane.
Also asvise the following usage
ctrl+c a couple of times to clear anything out of the input buffer queued up.
stty -sane
all good from here onwards and good time to play with od and remember the strings -a pipe next time.