Monday, October 23, 2017

Handling PID's Using Shell Script

How to get process' own PID 
Copy the below command into a bash text file and then execute it.
The PID of this process will be printed.

#!/bin/bash
echo $$



No comments:

Post a Comment