this post was submitted on 17 Feb 2024
270 points (99.6% liked)

196

16293 readers
2161 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 26 points 7 months ago (10 children)

It's easy. Just open up a terminal and type

kill $PID

(Replace the $PID with the process id of the process) if you don't know the process id you can do

killall process_name

If these don't work you can add a -9 to banish them and give them no chance to resist

[–] [email protected] 4 points 7 months ago (3 children)

Similarly, $$ is the current PID, $PPID is the parent PID. (Bash)

[–] [email protected] 3 points 7 months ago (2 children)

So 'kill -9 $$' is just suicide?

[–] [email protected] 3 points 7 months ago

You can type seppuku for that

load more comments (1 replies)
load more comments (1 replies)
load more comments (7 replies)