Lanky_Pomegranate530@midwest.social to linuxmemes@lemmy.world · edit-24 months agoSeriously this is a joke. Do NOT try thismidwest.socialexternal-linkmessage-square59fedilinkarrow-up1359arrow-down186
arrow-up1273arrow-down1external-linkSeriously this is a joke. Do NOT try thismidwest.socialLanky_Pomegranate530@midwest.social to linuxmemes@lemmy.world · edit-24 months agomessage-square59fedilink
minus-squareDefederateLemmyMl@feddit.nllinkfedilinkarrow-up5arrow-down1·4 months ago Since you forgot to add - - preserve-root It won’t go too far Go on then … try it. Or don’t because you will erase your system. (Hint: it’s in the asterisk)
minus-squareJohanno@feddit.orglinkfedilinkarrow-up2·4 months agoOr was it non preserve. I never tried it though. I guess a vm should be fine to test it. On the other hand I don’t care enough.
minus-squareDefederateLemmyMl@feddit.nllinkfedilinkEnglisharrow-up3arrow-down1·edit-24 months agoThe flag is called --no-preserve-root, but the flag wouldn’t do anything here because you’re not deleting root (/), you’re deleting all non-hidden files and directories under root (/*), and rm will just let you do it.
minus-squareL3ft_F13ld!@links.hackliberty.orglinkfedilinkarrow-up1·4 months agoPretty sure it’s --no-preserve-root or something similar.
Go on then … try it.
Or don’t because you will erase your system. (Hint: it’s in the asterisk)
Or was it non preserve. I never tried it though. I guess a vm should be fine to test it. On the other hand I don’t care enough.
The flag is called
--no-preserve-root
, but the flag wouldn’t do anything here because you’re not deleting root (/
), you’re deleting all non-hidden files and directories under root (/*
), and rm will just let you do it.Pretty sure it’s --no-preserve-root or something similar.