gun@lemmy.ml to Linux@lemmy.mlEnglish · 20 hours agoTried to rm -r my .cache but accidentally did .config instead...message-squaremessage-square35fedilinkarrow-up148arrow-down12file-text
arrow-up146arrow-down1message-squareTried to rm -r my .cache but accidentally did .config instead...gun@lemmy.ml to Linux@lemmy.mlEnglish · 20 hours agomessage-square35fedilinkfile-text
minus-squareZykino@programming.devlinkfedilinkarrow-up5·6 hours agoWhen I’m unsure, I ls <the-glob>, chek, then replace ls with rm.
minus-squaretorgeir@lemmy.mllinkfedilinkarrow-up1·22 minutes 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.