kali_fornication@lemmy.world to linuxmemes@lemmy.world · 18 days agooopslemmy.worldimagemessage-square29linkfedilinkarrow-up1250arrow-down15
arrow-up1245arrow-down1imageoopslemmy.worldkali_fornication@lemmy.world to linuxmemes@lemmy.world · 18 days agomessage-square29linkfedilink
minus-squarebeegnyoshi@lemmy.ziplinkfedilinkarrow-up4·17 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-up1·17 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.