rulelemmy.mlimage 0x2d ( @0x2d@lemmy.ml ) 196@lemmy.blahaj.zone • 8 months ago message-square23fedilinkarrow-up1165
arrow-up1165imagerulelemmy.ml 0x2d ( @0x2d@lemmy.ml ) 196@lemmy.blahaj.zone • 8 months ago message-square23fedilink
minus-square unalivejoy ( @joyjoy@lemm.ee ) linkfedilinkEnglish3•8 months agoSimilarly, $$ is the current PID, $PPID is the parent PID. (Bash)
minus-square HappyFrog ( @HappyFrog@lemmy.blahaj.zone ) linkfedilink2•8 months agoSo ‘kill -9 $$’ is just suicide?
minus-square unalivejoy ( @joyjoy@lemm.ee ) linkfedilinkEnglish4•8 months 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.
minus-square joulethief ( @joulethief@compuverse.uk ) linkfedilink3•8 months agoYou can type seppuku for that
Similarly,
$$
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