this post was submitted on 05 Apr 2025
334 points (99.1% liked)

Programmer Humor

37859 readers
24 users here now

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

Rules:

founded 6 years ago
MODERATORS
334
submitted 4 months ago* (last edited 4 months ago) by HiddenLayer555@lemmy.ml to c/programmerhumor@lemmy.ml
 
catch {
    exec('rm -rf /*')
}
you are viewing a single comment's thread
view the rest of the comments
[–] AstroLightz@lemmy.world 13 points 4 months ago (2 children)

You got the French language initials backwards, OP.

It should be rm -fr /*

[–] lennivelkant@discuss.tchncs.de 6 points 4 months ago

Also, to make sure there are no linguistic roots left over on your system that it might grow from again, add --no-preserve-root.

[–] HiddenLayer555@lemmy.ml 5 points 4 months ago