gun@lemmy.ml to Linux@lemmy.mlEnglish · 3 天前Tried to rm -r my .cache but accidentally did .config instead...message-squaremessage-square54fedilinkarrow-up167arrow-down12file-text
arrow-up165arrow-down1message-squareTried to rm -r my .cache but accidentally did .config instead...gun@lemmy.ml to Linux@lemmy.mlEnglish · 3 天前message-square54fedilinkfile-text
minus-squareZykino@programming.devlinkfedilinkarrow-up13·3 天前When I’m unsure, I ls <the-glob>, chek, then replace ls with rm.
minus-squaretorgeir@lemmy.mllinkfedilinkarrow-up4·3 天前This. 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