Fix Terminal gibberish with reset
If you’ve ever accidentally used cat on a binary file, you’ll have seen the gibberish that results and how it can totally screw up your Terminal window. An easy way to repair this is to use the reset command. All you need to do is type ‘reset’ when you’re in a screen full of gibberish text and the terminal will reset itself and be good as new.
Try it out the next time your command line is messed up.