• unalivejoy
    link
    fedilink
    English
    55 months ago

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

    • @HappyFrog
      link
      35 months ago

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

      • unalivejoy
        link
        fedilink
        English
        55 months ago

        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.