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

Or, just type the command “history”, find the index number of the desired command, then type “! ”, then .

  • source
  • hideshow 7 child comments
  • [–] 8 points 1 year ago* (last edited 1 year ago) (3 children)

    or Ctrl+R then search? I don't know why some people still bother with history tbh.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 1 year ago

    Holy cow!! I didn’t know that. I have been using history > history.txt to find “that one command for that one thing” I only need once every other month or so. Thanks, now I can just do that.

  • source
  • parent