• ulterno@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 hours ago

    It was quite a while before I realised that was possible.
    Then not long after starting to use it, that I got fed up and just started opening up the history file and searching in it.

    • dropcase@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      59 minutes ago

      why not history | grep -i and the search term?

      even if there are several, you can use ! and the command’s line number to run it again