this post was submitted on 12 Aug 2023
1036 points (93.5% liked)
Memes
45565 readers
960 users here now
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What command did I run that time?
(200 up presses later)
Aha! Exactly this
Ctrl+r, start typing the first few letters of the command.
TIL, thanks
Press Ctrl-R, and you can do an incremental search through your command history. Ctrl-R goes forward through the found entries, and Ctrl-Shift-R goes backwards.
Or, if you use fish like me, it does it automatically.
Please install fzf and save yourself a lifetime of clinical insanity.