You're viewing a single thread.
Remember kids, you gotta use
rm -rf --no-preserve-root /*
now a days!88 3 Replyrm -rf /*
will work just fine (assuming sudo permissions ofc)You need the additional flag for
rm -rf --no-preserve-root /
48 0 ReplyWhat is that for?
10 0 Reply96 0 ReplyToo many people got trolled into "removing the French language pack" on Linux systems that there's now a check to see if someone is deleting every file off their computer (including the os system files). --no-preserve-root is the option you need to include to actually delete all the files off your system.
45 0 Replyweird how it doesn't warn you for rm -rf /* though
5 0 Replydepending on your shell, i believe the glob is expanded before it gets to the
rm
program8 0 Reply
Contrary to the memes, Linux does actually sometimes try to stop you from shooting yourself in the foot
30 0 ReplyYes, do as I say!
26 0 ReplyEvery time I get one of these even if I 100% feel like I know what I'm doing it strikes a deep fear in me
6 0 Replysudo make me a sandwich
6 1 Replymake: unable to find input files me, a, sandwich
16 1 Replytouch me touch a touch sandwich sudo make me a sandwich
3 0 Reply
Overrides the protection in place that prevents you from deleting the root of your filesystem.
14 0 Reply