shell question

Brant Evans brant.evans at gmail.com
Mon Feb 16 22:52:48 MST 2009


The $$ variable is the process id. It will be consistent through the run of
the script. Each invocation of the script will get a different process id.

Brant Evans

On Mon, Feb 16, 2009 at 10:41 PM, Nathan England <nathan at paysonlinux.org>wrote:

>
> Hello Hello,
>
>        I am looking for an explanation of what '$$' is in bash.
> I can create a file or a directory, assign it to variables, but how much
> can I
> do before it changes, or what causes it to change?
>
> What exactly does it mean? Searching google for '$$' returns nothing
> useful.
>
> Nathan
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20090216/c1b5c850/attachment.htm 


More information about the PLUG-discuss mailing list