[NTLUG:Discuss] PID of program started from bash?

Jack Snodgrass jack at jacksnodgrass.com
Tue Oct 12 18:29:23 CDT 2004


how do you get the PID of a program that you start from a bash script? 

i.e. I do something like
#!/bin/bash
/usr/sbin/fingerd &
#what do you set what to do be the pid of the new fingered server? 
echo $what

-- 
Jack Snodgrass <jack at jacksnodgrass.com>




More information about the Discuss mailing list