gun@lemmy.ml to Linux@lemmy.mlEnglish · 1 month agoTried to rm -r my .cache but accidentally did .config instead...message-squaremessage-square16fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1message-squareTried to rm -r my .cache but accidentally did .config instead...gun@lemmy.ml to Linux@lemmy.mlEnglish · 1 month agomessage-square16fedilinkfile-text
minus-squareZykino@programming.devlinkfedilinkarrow-up0·1 month agoWhen I’m unsure, I ls <the-glob>, chek, then replace ls with rm.
minus-squaretorgeir@lemmy.mllinkfedilinkarrow-up1·1 month agoThis. When the ls command works, hit ctrl-a, meta-d, type rm, enter.
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.