gun@lemmy.ml to Linux@lemmy.mlEnglish · 1 year agoTried to rm -r my .cache but accidentally did .config instead...message-squaremessage-square55linkfedilinkarrow-up173arrow-down12file-text
arrow-up171arrow-down1message-squareTried to rm -r my .cache but accidentally did .config instead...gun@lemmy.ml to Linux@lemmy.mlEnglish · 1 year agomessage-square55linkfedilinkfile-text
minus-squareZykino@programming.devlinkfedilinkarrow-up15·1 year agoWhen I’m unsure, I ls <the-glob>, chek, then replace ls with rm.
minus-squaretorgeir@lemmy.mllinkfedilinkarrow-up6·1 year agoThis. When the ls command works, hit ctrl-a, meta-d, type rm, enter.
When I’m unsure, I
ls <the-glob>, chek, then replacelswithrm.This. When the ls command works, hit ctrl-a, meta-d, type rm, enter.
Oh, didn’t knew about
Alt d. Thx