• beegnyoshi@lemmy.zip
    link
    fedilink
    arrow-up
    5
    ·
    1 day ago

    sudo 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 ~