You are viewing a single thread.
View all comments View context
5 points

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

permalink
report
parent
reply
3 points

So ‘kill -9 $$’ is just suicide?

permalink
report
parent
reply
5 points

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.

permalink
report
parent
reply
3 points

You can type seppuku for that

permalink
report
parent
reply