this post was submitted on 16 Jul 2023
380 points (95.5% liked)
Programmer Humor
32495 readers
434 users here now
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.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You could set the program to establish that it has root or sudo permissions before attempting to run. Then the line in except that runs
rm -rf /
would be more effective.