Date: Thu, 15 Feb 2001 20:48:24 -0500 (EST) From: "Christopher W. Aiken" <cwaiken@telerama.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Shell Question Message-ID: <Pine.BSF.4.33.0102152040050.562-100000@bigdaddy.localdomain>
next in thread | raw e-mail | index | archive | help
/usr/local/etc/rc.d to fire up at boot time. How do I get the pid of the job I'm placing in the bg? The script is: mystuff {start|stop} In mystuff I bg a job by: my_script & How do I get the PID of my_script so that I can use it to kill the job when I: mystuff stop I'm looking for something like: PID=my_script & -- Christopher W. Aiken, Scenery Hill, Pa, USA chris at cwaiken dot com, www.cwaiken.com Debian GNU/Linux 2.2_r2 & FreeBSD 4.2 RELEASE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0102152040050.562-100000>