this post was submitted on 15 Jan 2026
498 points (87.7% liked)

Programmer Humor

28439 readers
1962 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

founded 2 years ago
MODERATORS
(page 2) 50 comments
sorted by: hot top controversial new old
[–] Dupelet@piefed.social 36 points 17 hours ago (1 children)

Windows: If you can't exit gracefully, I'll make sure you never exit at all

[–] muusemuuse@sh.itjust.works 10 points 14 hours ago (2 children)

Oh dear, my toe seems to have found the switch on my surge protector. I win.

load more comments (2 replies)
[–] thenextguy@lemmy.world 69 points 19 hours ago (1 children)
[–] fuckwit_mcbumcrumble@lemmy.dbzer0.com 33 points 19 hours ago (2 children)

This meme gets crustier and crustier every time I see it. It’s amazing after all these years people still post this.

[–] amorpheus@lemmy.world 6 points 13 hours ago

Eh, it's funny even if it's inaccurate.

load more comments (1 replies)
[–] vogi@piefed.social 55 points 20 hours ago (7 children)

Isn't that what SIGTERM is? A request to gracefully shutdown processes.

[–] 9point6@lemmy.world 22 points 19 hours ago (3 children)

kill, and I swear to god if you're still there when I ps, I'm getting out the -9

[–] 69420@lemmy.world 15 points 15 hours ago
alias murder="kill -9"
[–] marcos@lemmy.world 9 points 18 hours ago

Yeah, by default kill sends sigterm, and not kill the process at all.

It's the correct behavior, sending sigkill by default would be harmful. Now take a look at how killall worked in Solaris (before it adopted GNU).

[–] toynbee@lemmy.world 3 points 18 hours ago (1 children)
[–] 9point6@lemmy.world 2 points 9 hours ago (1 children)

Okay that took me by surprise

I'll be sharing this

[–] toynbee@lemmy.world 1 points 8 hours ago
[–] SlurpingPus@lemmy.world 1 points 11 hours ago

I bet the GUI environments also have their own mechanisms to indicate that the app needs to close, before whipping out the signals.

[–] pewpew@feddit.it 12 points 20 hours ago

Systemd waits until the services terminate before shutting down

[–] andyburke@fedia.io 9 points 20 hours ago
load more comments (3 replies)
[–] MehBlah@lemmy.world 8 points 15 hours ago (1 children)

Yup. Sometimes you like to fire a few shots manually just for fun.

[–] muusemuuse@sh.itjust.works 6 points 14 hours ago (2 children)

Sudo htop

“I wonder how important this is….”

Nothing happens

Hmm

[–] Allero@lemmy.today 4 points 12 hours ago (1 children)

I once accidentally unmounted the system drive. You know what? Aside from some crash messages and a lost battery indicator, the system just kept going.

I finished my Zoom call just fine, finished what I needed to do real quick and then rebooted.

It all went back and was just fine.

[–] cows_are_underrated@feddit.org 3 points 11 hours ago* (last edited 11 hours ago) (2 children)

A friend of mine has a Laptop, where you can easily pull out out the hard drive while the OS is running. We once did that and it worked kinda fine. After plugging the hard drive back in it continued to run like before.

[–] Allero@lemmy.today 1 points 10 hours ago
load more comments (1 replies)
[–] BeigeAgenda@lemmy.ca 8 points 16 hours ago (1 children)

In Linux you get zombie processes hanging around when things go wrong, and you can't get rid of those.

[–] LedgeDrop@lemmy.zip 11 points 14 hours ago (3 children)

Yes you can. You get rid of the zombies by killing the parent process.

[–] webghost0101@sopuli.xyz 5 points 14 hours ago (1 children)

Zombies are getting to be parents now?

Woke has gone too far, in my day they would have gotten a bullet between the eyes.

[–] DawnOfTime@lemmy.blahaj.zone 1 points 13 hours ago

I think zombies go under kernel or "root process" by default now

[–] palordrolap@fedia.io 1 points 9 hours ago

You can also try signalling the parent with a SIGCHLD. Most of the time it does nothing, and hey, you'd be using a stronger version of the kill command anyway if it doesn't work.

[–] Shanmugha@lemmy.world 3 points 13 hours ago* (last edited 13 hours ago) (1 children)

they can be automatically moved to have parent 1 or something like that, so only way to kill them is a reboot. But personally I am yet to setup a stationary (uh, not a laptop) computer and see how it works for me without poweroff at the end of the day

[–] asret@lemmy.zip 4 points 12 hours ago

They get moved to the init process (parent 1) if their original parent dies. The init process should always wait on its child processes so they'll get cleaned up then. No reboot needed.

Once they're zombies all they really exist for is to return an exit code for their parent - they're no longer running.

[–] PacMan@sh.itjust.works 1 points 12 hours ago (2 children)

I killed-9 but if I’m done I’m done and just calling a hard soft reboot with REISUB and if you know you know

[–] cm0002 2 points 12 hours ago

Lolol I just needed that yesterday

load more comments
view more: ‹ prev next ›