loading...

re: 10 simple Linux tips which save 50% of my time in the command line VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Those are some great ones. I like the "!" and history # as in ... hseritt@hseritt-ThinkPad-X1-Carbon-5th:~/dev/python/top/project$ history ... ...
 

This is a massive one. You can:

history | grep git

To see all the things you were doing then:

!2177

it's a bit more keystrokes than ”ctrl+r all” to find a command but helps you reread what you did. So i mix these two often.

 

Yeah the point was just using history for clarity for the readers ... you can of course, grep any output you need to. That should be a given. Thanks!

Code of Conduct Report abuse