laurenceOfSuburbia@lemmy.world to memes@lemmy.world · 14 days agoCan't trust the C button.lemmy.worldimagemessage-square124linkfedilinkarrow-up1623
arrow-up1623imageCan't trust the C button.lemmy.worldlaurenceOfSuburbia@lemmy.world to memes@lemmy.world · 14 days agomessage-square124linkfedilink
minus-squareLurkingLuddite@piefed.socialBannedlinkfedilinkEnglisharrow-up6·14 days agoWhat if you’re in a terminal? Ctrl-C might not be the wisest choice.
minus-squareheartSagan5@lemmy.ziplinkfedilinkarrow-up2·edit-213 days agoI sometimes use Ctrl+w (yank the last word) then Ctrl+y (paste it) in terminal. Ctrl+a (move the cursor to the beginning of this line — useful to add sudo) Ctrl+e (move the cursor to the end of this line) Ctrl+f (move the cursor forward one character) Ctrl+b (move the cursor back one character) Ctrl+u (yank the whole line — better than hitting backspace a whole lot) Ctrl+l (clear the terminal) Ctrl+d (logout/exit)
What if you’re in a terminal? Ctrl-C might not be the wisest choice.
I sometimes use Ctrl+w (yank the last word) then Ctrl+y (paste it) in terminal.
Ctrl+a (move the cursor to the beginning of this line — useful to add sudo)
Ctrl+e (move the cursor to the end of this line)
Ctrl+f (move the cursor forward one character)
Ctrl+b (move the cursor back one character)
Ctrl+u (yank the whole line — better than hitting backspace a whole lot)
Ctrl+l (clear the terminal)
Ctrl+d (logout/exit)