a14o@feddit.org to linuxmemes@lemmy.worldEnglish · 2 months agoSet and forgetfeddit.orgexternal-linkmessage-square9fedilinkarrow-up16arrow-down10
arrow-up16arrow-down1external-linkSet and forgetfeddit.orga14o@feddit.org to linuxmemes@lemmy.worldEnglish · 2 months agomessage-square9fedilink
minus-squareSchiffsmädchenjunge@sh.itjust.workslinkfedilinkarrow-up0·2 months agoI just load bash.history in Kate or whatever and ctrl-f the command, copy the line, insert that in the terminal, adapt if necessary and go. Unless it’s one of the last ten or so I used, then it’s just ⬆️⬆️⬇️⬇️⬅️➡️⬅️➡️🅱️🅰️
minus-squarekernelle@0d.gslinkfedilinkarrow-up0·2 months agohistory | grep <search> I like seeing different usages
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkEnglisharrow-up1·2 months agoUse control r, and press control r repeatedly after the first find. It will cycle through every result.
I just load bash.history in Kate or whatever and ctrl-f the command, copy the line, insert that in the terminal, adapt if necessary and go. Unless it’s one of the last ten or so I used, then it’s just ⬆️⬆️⬇️⬇️⬅️➡️⬅️➡️🅱️🅰️
history | grep <search>
I like seeing different usages
Use control r, and press control r repeatedly after the first find. It will cycle through every result.