Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: getting PID of current shell process
- X-seq: zsh-users 1176
- From: Szekeres Istvan <szekeres@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- To: kutek@xxxxxxxxxxxxx
- Subject: Re: getting PID of current shell process
- Date: Wed, 3 Dec 1997 16:22:58 +0100 (CET)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <199712031511.KAA06526@xxxxxxxxxxxxxxxxxxx>
> i need to have a way to get the pid of the current shell process but there
> doesn't seem to be a way to do this easily eg no $PID shell variable.
> Is there a reason for this and could you please add it if possible?
> the $PPID doesn't help me at all.
$$ evaluates to the pid of the current shell
Pista
Messages sorted by:
Reverse Date,
Date,
Thread,
Author