@[email protected] to [email protected] • 9 months agoWhat's a handy terminal command you use often?message-square281fedilinkarrow-up1226
arrow-up1226message-squareWhat's a handy terminal command you use often?@[email protected] to [email protected] • 9 months agomessage-square281fedilink
minus-square@[email protected]linkfedilink15•9 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•9 months agoRelated: Alt + ., to cycle through arguments used in previous commands
minus-square@[email protected]linkfedilink4•9 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@[email protected]linkfedilink2•9 months agoThis is great for when you type in your root password incorrectly!
minus-square@[email protected]linkfedilinkEnglish5•9 months agoI just use control C, is there a difference other than whether the line shows up or not?
minus-squareAnIndefiniteArticlelinkfedilink2•9 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 commandsHow 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!
I just use control C, is there a difference other than whether the line shows up or not?
And then ctrl+y to paste it back and recover that text.