this post was submitted on 24 Sep 2025
1277 points (98.1% liked)

Programmer Humor

26592 readers
2147 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
[โ€“] dropcase@lemmy.world 3 points 2 days ago (1 children)

why not history | grep -i and the search term?

even if there are several, you can use ! and the command's line number to run it again

[โ€“] ulterno@programming.dev 1 points 2 days ago

history is shell dependent.