0x4E4F@sh.itjust.works to linuxmemes@lemmy.world · 2 years agoLinux terminal users be likesh.itjust.worksimagemessage-square83fedilinkarrow-up1577arrow-down117
arrow-up1560arrow-down1imageLinux terminal users be likesh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.world · 2 years agomessage-square83fedilink
minus-squareatx_aquarian@lemmy.worldlinkfedilinkarrow-up3·2 years agoY’all know about ctrl-r to search history, right? I went for so many years without even thinking to look for something better than up-arrow, so I have to mention it.
minus-squareamanwithausername@vlemmy.netlinkfedilinkarrow-up2·2 years agoWait until they learn that you can ctrl+u when you mistyped your password in sudo instead of spamming backspace…
minus-square8565@lemmy.quad442.comlinkfedilinkarrow-up1·2 years agoBro. You just changed my life and don’t even realize it
minus-squareamanwithausername@vlemmy.netlinkfedilinkarrow-up2·edit-22 years agoDelete until start of line. So essentially equivalent to spamming backspace a bunch.
minus-squarerambaroo@lemmy.worldlinkfedilinkarrow-up2·2 years agohistory | grep <search term> Does the job well if the key combo doesn’t work.
minus-squareCerineArkweaver@lemmy.worldlinkfedilinkarrow-up1·2 years agoThis. I didn’t know about CTRL+R, but this has been my goto
minus-squareknobbysideup@lemmy.worldlinkfedilinkarrow-up1·2 years agoFollowed by !xxx where xxx is the number of the command to re-run
Y’all know about ctrl-r to search history, right? I went for so many years without even thinking to look for something better than up-arrow, so I have to mention it.
Wait until they learn that you can
ctrl+u
when you mistyped your password insudo
instead of spamming backspace…Bro. You just changed my life and don’t even realize it
What does that do?
Delete until start of line. So essentially equivalent to spamming backspace a bunch.
history | grep <search term>
Does the job well if the key combo doesn’t work.
This. I didn’t know about CTRL+R, but this has been my goto
Followed by !xxx where xxx is the number of the command to re-run