This holds the Process ID (PID) of the script that appears in the following:
#!/bin/bash
echo $$
Let's execute it:
zarrelli:~$ ./pid.sh
4772
This holds the Process ID (PID) of the script that appears in the following:
#!/bin/bash
echo $$
Let's execute it:
zarrelli:~$ ./pid.sh
4772
18.223.160.61