News for hackers. Stuff that matters.
Re:I want a better shell (2019) by hotsauceror on Friday September 10, 2021 @09:43PM (#28488747)
EDIT: Oh. Duh. Brain freeze. Well, I’ll leave this here anyway.

Won’t this work:

    $ history | grep SOME_UNIQUE_PART_OF_YOUR_TWO_LINER
And then

    $ !HISTORYID
? I do this almost daily and with my bash history set to 10000 lines I pretty much find everything.

There are no comments on this comment yet.