Carly™@lemmy.world to linuxmemes@lemmy.worldEnglish · 2 years agoLook, I'm lazy, okay?lemmy.worldimagemessage-square33fedilinkarrow-up1162arrow-down10
arrow-up1162arrow-down1imageLook, I'm lazy, okay?lemmy.worldCarly™@lemmy.world to linuxmemes@lemmy.worldEnglish · 2 years agomessage-square33fedilink
minus-squareHorreC@kbin.sociallinkfedilinkarrow-up8·2 years agocontrol shift R, then start typing, it will search your bash history
minus-squareRikudou_Sage@lemmings.worldlinkfedilinkarrow-up1·2 years agoI recommend using mcfly for that, it makes it even better.
minus-squaremrmanager@lemmy.todaylinkfedilinkarrow-up0·2 years agoHmm, normally it’s just ctrl - r… Are you sure the shift is needed on your system?
minus-squarelungdart@lemmy.calinkfedilinkarrow-up1·2 years agoDon’t forget fzf. That will really jazz up your history search!
minus-squaremrmanager@lemmy.todaylinkfedilinkarrow-up2arrow-down1·2 years agoOk if you want to learn Linux, you need to start web searching for stuff you hear about. :)
minus-squaremed@sh.itjust.workslinkfedilinkarrow-up1·2 years agoSome variants have ctrl+r bound to something else
minus-squarefuckstick@lemmy.worldlinkfedilinkEnglisharrow-up0·2 years 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·2 years agoWhat now? What is r? How does this work?
minus-squarefuckstick@lemmy.worldlinkfedilinkEnglisharrow-up0·2 years 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·2 years 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·2 years 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