wearing thigh highs, sitting next to a Thinkpad laptop running Arch Linux

wearing thigh highs, with a closed laptop featuring several tech stickers on it

  • cobra89@beehaw.org
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    9 months ago

    They’re right. The modern versions of rm have a safe guard and you need to type --no-preserve-root to force it to delete /.

    You can also just do sudo rm -rf /* and let shell expansion do the rest.

    WARNING: DO NOT RUN THESE COMMANDS. THEY WILL DELETE EVERYTHING ON YOUR ROOT PARTITION.