cybercitizen4@lemm.ee to Asklemmy@lemmy.ml · 3 months agoWhat's a handy terminal command you use often?message-squaremessage-square280fedilinkarrow-up1228arrow-down17
arrow-up1221arrow-down1message-squareWhat's a handy terminal command you use often?cybercitizen4@lemm.ee to Asklemmy@lemmy.ml · 3 months agomessage-square280fedilink
minus-squareRagingRobot@lemmy.worldlinkfedilinkarrow-up16·3 months agoCTR + u will delete the whole command. I use that a lot so I don’t have to backspace. It’s saved me a ton of time
minus-squarecall_me_xalelinkfedilinkarrow-up17·3 months agoRelated: Alt + ., to cycle through arguments used in previous commands
minus-squarepotentiallynotfelix@lemmy.fishlinkfedilinkEnglisharrow-up5·3 months agoI just use control C, is there a difference other than whether the line shows up or not?
minus-squaredarvit@lemmy.darvit.nllinkfedilinkarrow-up4·3 months agoHow about ctrl+c to cancel and clear the command you are typing? It’s much easier because you only need 1 hand, and does not impact your shell’s history.
minus-squareemergencybird@lemmy.worldlinkfedilinkarrow-up2·3 months agoThis is great for when you type in your root password incorrectly!
minus-squareAnIndefiniteArticle@sh.itjust.workslinkfedilinkarrow-up2·3 months agoAnd then ctrl+y to paste it back and recover that text.
CTR + u will delete the whole command. I use that a lot so I don’t have to backspace. It’s saved me a ton of time
Related: Alt +
.
, to cycle through arguments used in previous commandsI just use control C, is there a difference other than whether the line shows up or not?
How about ctrl+c to cancel and clear the command you are typing? It’s much easier because you only need 1 hand, and does not impact your shell’s history.
This is great for when you type in your root password incorrectly!
And then ctrl+y to paste it back and recover that text.