Kaityy@lemmy.blahaj.zone to r/unixsocks on fediverse @lemmy.blahaj.zone · 8 months agoBeen wishing this community was more active, decided to be the change. Anyways I felt cute, running Arch KDE on a Thinkpad.lemmy.blahaj.zoneimagemessage-square38fedilinkarrow-up1420arrow-down10file-text
arrow-up1420arrow-down1imageBeen wishing this community was more active, decided to be the change. Anyways I felt cute, running Arch KDE on a Thinkpad.lemmy.blahaj.zoneKaityy@lemmy.blahaj.zone to r/unixsocks on fediverse @lemmy.blahaj.zone · 8 months agomessage-square38fedilinkfile-text
minus-squarecobra89@beehaw.orglinkfedilinkarrow-up5·edit-28 months agoThey’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.
minus-squareNorah - She/They@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up4·8 months agoThe fact that the second one still works is a bit terrifying.
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.
The fact that the second one still works is a bit terrifying.