PPID
suggest changeThe Process ID (pid) of the script or shell’s parent, meaning the process than invoked the current script or shell.
~> $ echo $$
13016
~> $ echo $PPID
13015
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents