@gun@lemmy.ml to Linux@lemmy.mlEnglish • 8 months agoTried to rm -r my .cache but accidentally did .config instead...message-square58arrow-up173file-text
arrow-up173message-squareTried to rm -r my .cache but accidentally did .config instead...@gun@lemmy.ml to Linux@lemmy.mlEnglish • 8 months agomessage-square58file-text
minus-square@Zykino@programming.devlinkfedilink15•8 months agoWhen I’m unsure, I ls <the-glob>, chek, then replace ls with rm.
minus-square@torgeir@lemmy.mllinkfedilink6•8 months 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