Carly™@lemmy.world to linuxmemes@lemmy.worldEnglish · 1 year agoLook, I'm lazy, okay?lemmy.worldimagemessage-square30fedilinkarrow-up1151arrow-down10
arrow-up1151arrow-down1imageLook, I'm lazy, okay?lemmy.worldCarly™@lemmy.world to linuxmemes@lemmy.worldEnglish · 1 year agomessage-square30fedilink
minus-squareHorreC@kbin.sociallinkfedilinkarrow-up7·1 year agocontrol shift R, then start typing, it will search your bash history
minus-squareRikudou_Sage@lemmings.worldlinkfedilinkarrow-up1·1 year agoI recommend using mcfly for that, it makes it even better.
minus-squaremrmanager@lemmy.todaylinkfedilinkarrow-up0·1 year agoHmm, normally it’s just ctrl - r… Are you sure the shift is needed on your system?
minus-squarelungdart@lemmy.calinkfedilinkarrow-up1·1 year agoDon’t forget fzf. That will really jazz up your history search!
minus-squaremrmanager@lemmy.todaylinkfedilinkarrow-up2arrow-down1·1 year agoOk if you want to learn Linux, you need to start web searching for stuff you hear about. :)
minus-squaremed@sh.itjust.workslinkfedilinkarrow-up1·1 year agoSome variants have ctrl+r bound to something else
minus-squarefuckstick@lemmy.worldlinkfedilinkEnglisharrow-up0·1 year agoThis. It took a while for it to sink in but now it’s muscle memory and a huge time saver
minus-squareBipta@kbin.sociallinkfedilinkarrow-up0·1 year agoWhat now? What is r? How does this work?
minus-squarefuckstick@lemmy.worldlinkfedilinkEnglisharrow-up0·1 year agoCTRL+R brings up a prompt and allows you to search through commands you’ve run before. If you’ve run different variations of the command hitting CTRL+R or CTRL+SHIFT+R cycles through commands similar to what you’ve typed out.
minus-squaregaiussabinus@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agoI’m new to linux and i’ve been using $history | grep <thingy>. This information is very useful, thank you.
minus-squarefuckstick@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agoSure thing! There’s lots of ways to do the same things, but either way stops you from hitting the up key a bajillion times
control shift R, then start typing, it will search your bash history
I recommend using mcfly for that, it makes it even better.
Hmm, normally it’s just ctrl - r… Are you sure the shift is needed on your system?
Don’t forget fzf. That will really jazz up your history search!
No man entry for fzf
Ok if you want to learn Linux, you need to start web searching for stuff you hear about. :)
Some variants have ctrl+r bound to something else
This. It took a while for it to sink in but now it’s muscle memory and a huge time saver
What now? What is r? How does this work?
CTRL+R brings up a prompt and allows you to search through commands you’ve run before. If you’ve run different variations of the command hitting CTRL+R or CTRL+SHIFT+R cycles through commands similar to what you’ve typed out.
I’m new to linux and i’ve been using $history | grep <thingy>. This information is very useful, thank you.
Sure thing! There’s lots of ways to do the same things, but either way stops you from hitting the up key a bajillion times