Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: getting PID of current shell process



On Wed, 3 Dec 1997 kutek@xxxxxxxxxxxxx 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



Messages sorted by: Reverse Date, Date, Thread, Author