Daniel Danu wrote:

Hi,

Can you tell me please what $$ and $! mean ?

Thanks,
Dan



from man bash:

$ Expands to the process ID of the shell. In a () subshell, it expands to the process ID of the current shell, not the subshell. ! Expands to the process ID of the most recently executed background (asynchronous) command.


[EMAIL PROTECTED]:$ echo $$
426
[EMAIL PROTECTED]:$ echo $!
31584


Reply via email to