gun@lemmy.ml to Linux@lemmy.mlEnglish · 1 year agoTried to rm -r my .cache but accidentally did .config instead...message-squaremessage-square48fedilinkarrow-up169arrow-down12file-text
arrow-up167arrow-down1message-squareTried to rm -r my .cache but accidentally did .config instead...gun@lemmy.ml to Linux@lemmy.mlEnglish · 1 year agomessage-square48fedilinkfile-text
minus-squarexor@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up10·1 year 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-squareCorr@lemm.eelinkfedilinkarrow-up3·1 year agoI really like this # idea. I’ve also taken to holding off on adding sudo when deleting privileged files
minus-squareExtremeDullard@lemmy.sdf.orglinkfedilinkarrow-up1·1 year agoI never thought of doing that in 40 years. It’s a great idea actually. Thanks!
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!