Answers for "$$ in shell script"

1

$$ in shell script

$$ is the process ID (PID) of the script itself.

$BASHPID is the process ID of the current instance of Bash. This is not the same as the $$ variable, but it often gives the same result.
Posted by: Guest on September-07-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language