in reply to
Re: How to get the process Id
in thread
How to get the process Id
If yours is not the only running tcpdump 'ps aux | grep tcpdump' returns more than one line. Luckily shell has $! variable that holds the last child PID. See
bash
for the details.
Comment on
Re^2: How to get the process Id
In Section
Seekers of Perl Wisdom