Pretend you are my boss at the rule opening factory

https://lemmy.blahaj.zone/post/12391765

Pretend you are my boss at the rule opening factory - Blåhaj Lemmy

Remember kids, you gotta use rm -rf --no-preserve-root / now a days!
What is that for?
Overrides the protection in place that prevents you from deleting the root of your filesystem.
Too 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.
weird how it doesn’t warn you for rm -rf /* though
depending on your shell, i believe the glob is expanded before it gets to the rm program
Contrary to the memes, Linux does actually sometimes try to stop you from shooting yourself in the foot
Yes, do as I say!
sudo make me a sandwich
make: unable to find input files me, a, sandwich
touch me touch a touch sandwich
Every 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