gun@lemmy.ml to Linux@lemmy.mlEnglish · 1 day agoTried to rm -r my .cache but accidentally did .config instead...message-squaremessage-square43fedilinkarrow-up159arrow-down12file-text
arrow-up157arrow-down1message-squareTried to rm -r my .cache but accidentally did .config instead...gun@lemmy.ml to Linux@lemmy.mlEnglish · 1 day agomessage-square43fedilinkfile-text
minus-squareZykino@programming.devlinkfedilinkarrow-up9·10 hours agoWhen I’m unsure, I ls <the-glob>, chek, then replace ls with rm.
minus-squaretorgeir@lemmy.mllinkfedilinkarrow-up3·5 hours 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.
Oh, didn’t knew about
Alt d
. Thx