this post was submitted on 07 Jul 2026
320 points (99.1% liked)
Programmer Humor
32507 readers
667 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Doubt deleting everything but root is safe on a production server.
It won't delete anything at all
Oh, checked the manual. Cool, did not know that.
I guess then it should be
rm -rf /srv/That'd probably rattle some managers' cages, yes.
Alternatively, a combination of find /, rand, xarg, and rm could also be fun; delete something random, and pray it was just a readme file
rm -rf /* should work just fine
Only deleting .ssh for the fuck of it