kali_fornication@lemmy.world to linuxmemes@lemmy.world · 12 days agooopslemmy.worldimagemessage-square18linkfedilinkarrow-up13arrow-down10
arrow-up13arrow-down1imageoopslemmy.worldkali_fornication@lemmy.world to linuxmemes@lemmy.world · 12 days agomessage-square18linkfedilink
minus-squarebeegnyoshi@lemmy.ziplinkfedilinkarrow-up0·11 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-up0·11 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 ./~