Date: Fri, 16 Feb 2001 12:51:34 +1100 From: Tony Landells <ahl@austclear.com.au> To: "Christopher W. Aiken" <cwaiken@telerama.com> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Shell Question Message-ID: <200102160151.MAA27732@tungsten.austclear.com.au> In-Reply-To: Your message of "Thu, 15 Feb 2001 20:48:24 CDT." <Pine.BSF.4.33.0102152040050.562-100000@bigdaddy.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
$! should be the PID of the most recently executed background process. So your example would become: my_script & PID=$! Tony -- Tony Landells <ahl@austclear.com.au> Senior Network Engineer Ph: +61 3 9677 9319 Australian Clearing Services Pty Ltd Fax: +61 3 9677 9355 Level 4, Rialto North Tower 525 Collins Street Melbourne VIC 3000 Australia 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?200102160151.MAA27732>