$$ is an internal variable, it stores the process ID of the script itself or the current bash instance.
Here is an example use case
echo $$
Code language: PHP (php)
The output prompted.
darryl@Darryl-PC$ echo $$
8
Code language: CSS (css)
3D Artist and Cloud Computing Specialist
$$ is an internal variable, it stores the process ID of the script itself or the current bash instance.
Here is an example use case
echo $$
Code language: PHP (php)
The output prompted.
darryl@Darryl-PC$ echo $$
8
Code language: CSS (css)