Me working with the OS

https://lemmy.world/post/19985959

Me working with the OS - Lemmy.World

This happend to me right noww as I tried to write a guy task manager for the GNU/Linux OS

How are you crashing your system?! Crashing program sure, but the entire system?

rm -rf <some placeholder>

Works for . current directory. Yay!

… also works for / system root. 🔥 Nay!

Does it? I thought / specifically was protected, and you needed to add --no-preserve-root.
It should, but I the end it depends on your system. Each distro has their own default behavior.