Carly™@lemmy.world to linuxmemes@lemmy.worldEnglish · 1 year agoLook, I'm lazy, okay?lemmy.worldimagemessage-square85fedilinkarrow-up11.25K
arrow-up11.25KimageLook, I'm lazy, okay?lemmy.worldCarly™@lemmy.world to linuxmemes@lemmy.worldEnglish · 1 year agomessage-square85fedilink
minus-squarefuckstick@lemmy.worldlinkfedilinkEnglisharrow-up6·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-up8·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-up4·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
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