Kaityy@lemmy.blahaj.zone to r/unixsocks on fediverse @lemmy.blahaj.zone · 7 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-square39fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-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 · 7 months agomessage-square39fedilinkfile-text
minus-squarecobra89@beehaw.orglinkfedilinkarrow-up0·edit-27 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-up0·7 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.