PPID
suggest changeThe process ID (pid) of the script or shell’s parent: the process that 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