0x2d@lemmy.ml to 196@lemmy.blahaj.zone · 1 year agorulelemmy.mlimagemessage-square18fedilinkarrow-up163arrow-down10
arrow-up163arrow-down1imagerulelemmy.ml0x2d@lemmy.ml to 196@lemmy.blahaj.zone · 1 year agomessage-square18fedilink
minus-squareI_like_cats@lemmy.onelinkfedilinkarrow-up6·1 year agoIt’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
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up1·1 year agoSimilarly, $$ is the current PID, $PPID is the parent PID. (Bash)
minus-squareHappyFrog@lemmy.blahaj.zonelinkfedilinkarrow-up0·1 year agoSo ‘kill -9 $$’ is just suicide?
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up2·1 year agoWith suicide, you have a chance to get your affairs in order. kill -9 $$ is hiring an assassin to kill you and not tell you when it will happen. It happens suddenly without warning.
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
If these don’t work you can add a
-9
to banish them and give them no chance to resistSimilarly,
$$
is the current PID,$PPID
is the parent PID. (Bash)So ‘kill -9 $$’ is just suicide?
With suicide, you have a chance to get your affairs in order.
kill -9 $$
is hiring an assassin to kill you and not tell you when it will happen. It happens suddenly without warning.You can type
seppuku
for that