[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Can a child script know the pid parent script of the pro
From: |
Eduardo A . Bustamante López |
Subject: |
Re: [Help-bash] Can a child script know the pid parent script of the progress id? |
Date: |
Fri, 29 May 2015 09:10:30 -0500 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, May 29, 2015 at 09:03:45AM -0500, Peng Yu wrote:
> Hi,
>
> Is there a way for the child script to know which process group it
> belongs to? Thanks.
ps -p $$ -o pgid=
--
Eduardo Bustamante
https://dualbus.me/