Kaityy to r/unixsocks on fediverse · 1 年前Been wishing this community was more active, decided to be the change. Anyways I felt cute, running Arch KDE on a Thinkpad.imagemessage-square38fedilinkarrow-up1428file-text
arrow-up1428imageBeen 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 · 1 年前message-square38fedilinkfile-text
minus-squarecobra89@beehaw.orglinkfedilinkarrow-up5·edit-21 年前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.
minus-squareNorah (pup/it/she)linkfedilinkEnglisharrow-up4·1 年前The 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.