DEV Community


Discussion on: Using grep and history command to find previous commands in Linux

darkes profile image
Victor Darkes

Big fan of using history, I'd be lost if I didn't have it. My personal way of accessing it on Macs is by using Ctrl + R and that let's you do pretty much the same thing as the grep method and you don't have to do the second line to execute the expression. Give it a try!