vasuperl has asked for the wisdom of the Perl Monks concerning the following question:
I want to get the process id for the command executed in the command prompt.
For example I want to execute command of "tcpdump -i any -w filename.pcap &" in the linux machine from my windows PC.
Now I want to get the process id of that command.
I have done telnet connection to that linux machine and able to execute that command. But i was not able to get the process id of that command to kill that process.
I am new to perl. Please help me on this