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

N3Cr0
link
fedilink
311h

rm -rf <some placeholder>

Works for . current directory. Yay!

… also works for / system root. 🔥 Nay!

That won’t crash your kernel, and I was more curious about the OPs example. Task management is basically reading some files, and sending signals, it should be near impossible to crash the system.

Does it? I thought / specifically was protected, and you needed to add --no-preserve-root.

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.49K Posts
  • 32.8K Comments
  • Modlog