I was going to recommend &quot;screen&quot; as well.  VERY elegant way to manage many things.<br><br><br clear="all">---<br>Jerald M. Sheets jr.<br>
<br><br><div class="gmail_quote">On Wed, Nov 11, 2009 at 11:33 AM, Mills John M-NPHW64 <span dir="ltr">&lt;<a href="mailto:Jmills@motorola.com">Jmills@motorola.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
James -<br>
<br>
Exactly what I had in mind. Thanks.<br>
<font color="#888888"><br>
 - Mills<br>
</font><div><div></div><div class="h5"><br>
-----Original Message-----<br>
From: <a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a> on behalf of James Sumners<br>
Sent: Wed 11/11/2009 11:25 AM<br>
To: John Mills; Atlanta Linux Enthusiasts - Yes! We run Linux!<br>
Subject: Re: [ale] Silly bash question<br>
<br>
#!/bin/bash<br>
<br>
yes &gt; /dev/null &amp;<br>
yesPID=$!<br>
<br>
tail -f /var/log/messages &amp;<br>
tailPID = $!<br>
<br>
echo &quot;PID of yes process:&quot;<br>
echo $yesPID<br>
<br>
echo &quot;PID of tail process:&quot;<br>
echo $tailPID<br>
<br>
On Wed, Nov 11, 2009 at 11:12 AM, John Mills &lt;<a href="mailto:johnmills@speakeasy.net">johnmills@speakeasy.net</a>&gt; wrote:<br>
&gt; ALErs -<br>
&gt;<br>
&gt; I want to write a bash script to launch several processes into background<br>
&gt; without waiting for them to exit, and return a list of their PIDs.<br>
&gt;<br>
&gt; Must be simple but I keep stumbling on this.<br>
&gt;<br>
&gt; Actually PERL would be OK, too.<br>
&gt;<br>
&gt; TIA.<br>
&gt;<br>
&gt;  - Mills<br>
<br>
<br>
<br>
--<br>
James Sumners<br>
<a href="http://james.roomfullofmirrors.com/" target="_blank">http://james.roomfullofmirrors.com/</a><br>
<br>
&quot;All governments suffer a recurring problem: Power attracts<br>
pathological personalities. It is not that power corrupts but that it<br>
is magnetic to the corruptible. Such people have a tendency to become<br>
drunk on violence, a condition to which they are quickly addicted.&quot;<br>
<br>
Missionaria Protectiva, Text QIV (decto)<br>
CH:D 59<br>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br>
</div></div><br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br>