this post was submitted on 24 Sep 2025
1291 points (98.0% liked)

Programmer Humor

26691 readers
1333 users here now

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.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ezekielmudd@reddthat.com 12 points 1 week ago (7 children)

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

[–] eager_eagle@lemmy.world 8 points 1 week ago* (last edited 1 week ago) (3 children)

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

[–] merc@sh.itjust.works 3 points 1 week ago (1 children)

Because you can pipe history to grep.

[–] snowe@programming.dev 3 points 1 week ago

with fzf you get better grep with fuzzy search

load more comments (1 replies)
load more comments (4 replies)