you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 1 year ago (4 children)

I did this until my coworker got annoyed enough that they told me to start using history | grep lmaoo

  • source
  • parent
  • hideshow 4 child comments
  • [–] 7 points 1 year ago

    Or ctrl+r and start typing what you're searching for, and repeat ctrl+r to find the next newest match.

    For example, [C-r] ssh [C-r] [C-r] will auto fill the 3rd most recent ssh command you've run. Try it, your life will be filled with rainbows and unicorns.

  • source
  • parent