Kaityy to r/unixsocks on fediverse · 8 months agoBeen wishing this community was more active, decided to be the change. Anyways I felt cute, running Arch KDE on a Thinkpad.imagemessage-square38fedilinkarrow-up1421file-text
arrow-up1421imageBeen wishing this community was more active, decided to be the change. Anyways I felt cute, running Arch KDE on a Thinkpad.Kaityy to r/unixsocks on fediverse · 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/TheylinkfedilinkEnglisharrow-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.