Maybe there is a tool that does that? Maybe I’m doing this all wrong and there is a different way I should browse?

    • valar@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      15 days ago

      To add,

      !$ gets replaced with the last word from the previous command line

      !! Repeats the most recent command

      !-N Repeats the Nth previous command

      !string Repeats the most recent command that began with ‘string’

        • 4am@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          15 days ago

          You learned more about shells than you knew. This stuff works on BSD and some UNIX systems too, you know