cybercitizen4@lemm.ee to Asklemmy@lemmy.ml · 16 hours agoWhat's a handy terminal command you use often?message-squaremessage-square150fedilinkarrow-up1117arrow-down12
arrow-up1115arrow-down1message-squareWhat's a handy terminal command you use often?cybercitizen4@lemm.ee to Asklemmy@lemmy.ml · 16 hours agomessage-square150fedilink
minus-squareRagingRobot@lemmy.worldlinkfedilinkarrow-up10·8 hours 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-squareemergencybird@lemmy.worldlinkfedilinkarrow-up2·2 hours agoThis is great for when you type in your root password incorrectly!
minus-squaredarvit@lemmy.darvit.nllinkfedilinkarrow-up1·2 hours 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-squarecall_me_xale@lemmy.ziplinkfedilinkarrow-up9·7 hours agoRelated: Alt + ., to cycle through arguments used in previous commands
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
This is great for when you type in your root password incorrectly!
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.
Related: Alt +
.
, to cycle through arguments used in previous commands