@[email protected] to [email protected]English • 8 months agoTried to rm -r my .cache but accidentally did .config instead...message-square58fedilinkarrow-up170
arrow-up170message-squareTried to rm -r my .cache but accidentally did .config instead...@[email protected] to [email protected]English • 8 months agomessage-square58fedilink
minus-squarexorlinkfedilinkEnglish10•8 months agoI’m a big fan of starting the command with a #, then removing it once I’m happy with the command to defend against accidentally hitting enter Putting ~ next to the enter key on keyboards (at least UK ones) was an evil villain level decision
minus-square@[email protected]linkfedilink3•8 months agoI really like this # idea. I’ve also taken to holding off on adding sudo when deleting privileged files
minus-square@[email protected]linkfedilink1•8 months agoI never thought of doing that in 40 years. It’s a great idea actually. Thanks!
minus-square@[email protected]linkfedilink12•8 months agoWhen I’m unsure, I ls <the-glob>, chek, then replace ls with rm.
minus-square@[email protected]linkfedilink5•8 months agoThis. When the ls command works, hit ctrl-a, meta-d, type rm, enter.
I’m a big fan of starting the command with a
#
, then removing it once I’m happy with the command to defend against accidentally hitting enterPutting
~
next to the enter key on keyboards (at least UK ones) was an evil villain level decisionI really like this # idea. I’ve also taken to holding off on adding sudo when deleting privileged files
I never thought of doing that in 40 years. It’s a great idea actually. Thanks!
When I’m unsure, I
ls <the-glob>
, chek, then replacels
withrm
.This. When the ls command works, hit ctrl-a, meta-d, type rm, enter.
Oh, didn’t knew about
Alt d
. Thx