What is $$ in Bash?

What is $$ in Bash?

$$ is an internal variable that stores the process ID of the script itself or the current bash instance. Here is an example use case: echo $$ This produces the

Read Article