Terminal

Restore terminal printing

Hey,

sometimes I accidentaly print binary file with cat <thefile.bin> and my terminal is getting broken after that due to printing of some escape characters.

To fix it you can use reset command. Checkout the man reset to get more info about this command.

Terminal tips and tricks

Hey.

Below I’ve listed couple of ways to use terminal that some people may not know about. These “technics” I use a lot in may daily hacking.
So let’s start.

CTRL+R

I'm sure you already know that you can travel through command history using ⇧ and ⇩ keys. But sometimes the command you're looking for is far behind in history so you should do something like this ``` ⇧⇧⇧⇧⇧ damn, I missed it ⇩⇩ here is ``` which is quite annoying.

CTRL+R allows you to search through command history.
Here is the demo: