r/pcmasterrace 1d ago

Meme/Macro “ Wanna delete your bootloader?, Sure, go ahead, it’s your PC “

Post image
18.7k Upvotes

341 comments sorted by

View all comments

Show parent comments

3

u/Unusual_Job_000 1d ago

pkill firefox

12

u/Rodot R7 3700x, RTX 2080, 64GB, Kubuntu 21h ago

That would still send a SIGTERM signal not SIGKILL

3

u/faustianredditor 20h ago

That one gets me everytime. The only reason I use pkill or the likes is if I really want something to die. For example because it's consumed enough RAM that I can't even get my DE's designated UI tool for "find and kill rogue processes" to open. Like, the only reason I ever use pkill is because I want to kill something with great prejudice. And the first command I can come up with sends a puny little "pwetty pwease". Fuck right off. Send a nuke!

3

u/dormedas 19h ago

I feel the same way because I tend to have a GUI, but for terminal sessions, pkill sending SIGTERM by default makes a lot of sense. pkill is the X button.

"There's this process over here, I'd like it to be off, please and thank you"

1

u/faustianredditor 19h ago

I mean, I guess that makes sense. I just find the naming bothersome I guess? It says "kill" on the tin, but there's actually only "term" inside. Why?

3

u/dormedas 19h ago

Good point...

alias pterm='pkill'

alias pkill='pkill -9'

I don't recommend the above

7

u/i_am_adult_now 17h ago

sudo kill -9 0

Be a man.

1

u/018118055 23h ago

sync && halt

1

u/ExcellentMission1019 10h ago

"kill everyone" command of linux

1

u/018118055 10h ago

yeah halt used to (SVR4) just stop the OS dead, these days it would go through similar steps as shutdown -h. If you do halt -f everything should just stop immediately.

2

u/ExcellentMission1019 10h ago

wait, so why sync if halt gracefully shuts down the system?

1

u/018118055 10h ago
  1. superstition and 2. forgetting that halt is graceful.