kali_fornication@lemmy.world to linuxmemes@lemmy.world · 5 days agooopslemmy.worldimagemessage-square38fedilinkarrow-up1302arrow-down17
arrow-up1295arrow-down1imageoopslemmy.worldkali_fornication@lemmy.world to linuxmemes@lemmy.world · 5 days agomessage-square38fedilink
minus-squarebeegnyoshi@lemmy.ziplinkfedilinkarrow-up6·4 days agosudo rm -rf ./ and sudo rm -rf . are, as far as I know, the same command. Did you mean that you dropped the . and ran sudo rm -rf /? Fortunately for me, this never happened to me, but I have gotten pretty close to running rm -rf ~ after mistakenly creating a directory caller ~…
minus-squarex00z@lemmy.worldlinkfedilinkEnglisharrow-up2·4 days ago after mistakenly creating a directory caller ~… How do you even delete such a directory?
sudo rm -rf ./andsudo rm -rf .are, as far as I know, the same command. Did you mean that you dropped the . and ransudo rm -rf /?Fortunately for me, this never happened to me, but I have gotten pretty close to running
rm -rf ~after mistakenly creating a directory caller~…This is why i find rmdir useful.
How do you even delete such a directory?
rmdir ./~
That makes sense.