cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoLinux Userslemmy.mlimagemessage-square141fedilinkarrow-up11.01Karrow-down117
arrow-up1995arrow-down1imageLinux Userslemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square141fedilink
minus-squareaeharding@vger.sociallinkfedilinkarrow-up27·2 days agoThe number of people who don’t reverse-I-search is too damn high
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up0·1 day agoIt was quite a while before I realised that was possible. Then not long after starting to use it, that I got fed up and just started opening up the history file and searching in it.
minus-squaredropcase@lemmy.worldlinkfedilinkarrow-up3·1 day agowhy 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
The number of people who don’t reverse-I-search is too damn high
CTRL+R for those unitiated
reverse-i-search + fzf = <3
It was quite a while before I realised that was possible.
Then not long after starting to use it, that I got fed up and just started opening up the history file and searching in it.
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
history
is shell dependent.