* getting PID of current shell process
@ 1997-12-03 15:11 kutek
1997-12-03 15:14 ` Wessel Dankers
1997-12-03 15:22 ` Szekeres Istvan
0 siblings, 2 replies; 3+ messages in thread
From: kutek @ 1997-12-03 15:11 UTC (permalink / raw)
To: zsh-users
hi,
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.
thanks
B
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: getting PID of current shell process
1997-12-03 15:11 getting PID of current shell process kutek
@ 1997-12-03 15:14 ` Wessel Dankers
1997-12-03 15:22 ` Szekeres Istvan
1 sibling, 0 replies; 3+ messages in thread
From: Wessel Dankers @ 1997-12-03 15:14 UTC (permalink / raw)
To: kutek; +Cc: zsh-users
On Wed, 3 Dec 1997 kutek@cybercomm.net wrote:
> 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.
Try $$
Groetseltjes,
--
Wessel Dankers
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: getting PID of current shell process
1997-12-03 15:11 getting PID of current shell process kutek
1997-12-03 15:14 ` Wessel Dankers
@ 1997-12-03 15:22 ` Szekeres Istvan
1 sibling, 0 replies; 3+ messages in thread
From: Szekeres Istvan @ 1997-12-03 15:22 UTC (permalink / raw)
To: kutek; +Cc: zsh-users
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-12-03 15:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-03 15:11 getting PID of current shell process kutek
1997-12-03 15:14 ` Wessel Dankers
1997-12-03 15:22 ` Szekeres Istvan
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).