PID Of The Current Shell
$
expands to the process ID of the shell. So, you can see the PID of the current shell with echo $$
.
See the Special Paramaters
section of man bash
for more details.
Last updated
$
expands to the process ID of the shell. So, you can see the PID of the current shell with echo $$
.
See the Special Paramaters
section of man bash
for more details.
Last updated