Parent process ID

ody davidsen at sungod.crd.ge.com
Sat Aug 12 02:11:41 AEST 1989


In article <12046 at orstcs.CS.ORST.EDU> ghe at nucthy.physics.orst.edu (Guangliang He) writes:
| We know the shell variable $$ means the process ID of current process.
| Is there a variable to represent the Parent Process ID (PPID)? Any hint
| will be welcome.

Korn shell uses $PPID. You could trivially set your .profile to define
such a veriable if you run another shell.
	bill davidsen		(davidsen at crdos1.crd.GE.COM)
  {uunet | philabs}!crdgw1!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me



More information about the Comp.unix.questions mailing list