[Techtalk] check if script parent process is "init"

Dominik Schramm dominik.schramm at gmxpro.net
Tue Apr 13 15:10:55 EST 2004


Kathryn Hogg  wrote:

> grep ^PPid /proc/$$/status | awk '{print $2}'

cool, thanks a lot!
dominik



More information about the Techtalk mailing list