Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

$$ 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.
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #shell #script
ADD COMMENT
Topic
Name
9+2 =