|
Get pid
Hello people,
This question might seem to be a little naive but here it goes:
I want to know the PID of a script that is running in the background.
eg: There is a script called Data_Downloader.sh
I am using the command:
ps -ef | grep Data_Downloader.sh
But I am getting the output as
wrkarea 18524 9063 0 15:46:41 pts/4 0:00 grep Data_Downlaoder.sh
Thanks in advance.
|