0x4E4F@sh.itjust.works to linuxmemes@lemmy.world · 1 year agoLinux terminal users be likesh.itjust.worksimagemessage-square83fedilinkarrow-up1577arrow-down118
arrow-up1559arrow-down1imageLinux terminal users be likesh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.world · 1 year agomessage-square83fedilink
minus-squareatx_aquarian@lemmy.worldlinkfedilinkarrow-up3·1 year 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·1 year 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·1 year agoBro. You just changed my life and don’t even realize it
minus-squareamanwithausername@vlemmy.netlinkfedilinkarrow-up2·edit-21 year agoDelete until start of line. So essentially equivalent to spamming backspace a bunch.
minus-squarerambaroo@lemmy.worldlinkfedilinkarrow-up2·1 year agohistory | grep <search term> Does the job well if the key combo doesn’t work.
minus-squareCerineArkweaver@lemmy.worldlinkfedilinkarrow-up1·1 year agoThis. I didn’t know about CTRL+R, but this has been my goto
minus-squareknobbysideup@lemmy.worldlinkfedilinkarrow-up1·1 year 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