@[email protected] to [email protected] • 5 months agoWhat's a handy terminal command you use often?message-square264fedilinkarrow-up1217arrow-down18
arrow-up1209arrow-down1message-squareWhat's a handy terminal command you use often?@[email protected] to [email protected] • 5 months agomessage-square264fedilink
minus-square@RagingRobotlink15•5 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-square@[email protected]linkfedilink16•5 months agoRelated: Alt + ., to cycle through arguments used in previous commands
minus-square@[email protected]linkfedilinkEnglish5•5 months agoI just use control C, is there a difference other than whether the line shows up or not?
minus-square@[email protected]linkfedilink4•5 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-square@emergencybirdlink2•5 months agoThis is great for when you type in your root password incorrectly!
minus-squareAnIndefiniteArticlelinkfedilink2•5 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.