My newest favourite History command uses grep and is great for finding a command that you have a faint memory of.
history | grep "keyword"
just use ctrl - r Does the same thing. :)
True! I included the ctrl + r shortcut in my second post about the Linux terminal (which will be published next Monday)
I love that approach! Btw, the grep command is one of the many that I decided to add in another post because this one was already too big 😂
Great stuff, look forward to reading your next mammoth post 😁
For most situations, I would prefer searching through the history with CTRL+r (you might consider adding that one), but yes sometimes you want to see the full list.
CTRL+r
OK, that's pretty awesome! Thanks for that.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
My newest favourite History command uses grep and is great for finding a command that you have a faint memory of.
history | grep "keyword"
just use ctrl - r
Does the same thing. :)
True! I included the ctrl + r shortcut in my second post about the Linux terminal (which will be published next Monday)
I love that approach! Btw, the grep command is one of the many that I decided to add in another post because this one was already too big 😂
Great stuff, look forward to reading your next mammoth post 😁
For most situations, I would prefer searching through the history with
CTRL+r
(you might consider adding that one), but yes sometimes you want to see the full list.OK, that's pretty awesome! Thanks for that.