1289
Linux Users
(lemmy.ml)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Or, just type the command “history”, find the index number of the desired command, then type “! ”, then .
That's way more mental effort than pressing up a bunch of times.
or Ctrl+R then search? I don't know why some people still bother with
history
tbh.Because you can pipe history to grep.
This is going to save me so much time pressing the up arrow.
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.
Ctrl-R if you know part of the command.