I was going to recommend "screen" 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"><<a href="mailto:Jmills@motorola.com">Jmills@motorola.com</a>></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 > /dev/null &<br>
yesPID=$!<br>
<br>
tail -f /var/log/messages &<br>
tailPID = $!<br>
<br>
echo "PID of yes process:"<br>
echo $yesPID<br>
<br>
echo "PID of tail process:"<br>
echo $tailPID<br>
<br>
On Wed, Nov 11, 2009 at 11:12 AM, John Mills <<a href="mailto:johnmills@speakeasy.net">johnmills@speakeasy.net</a>> wrote:<br>
> ALErs -<br>
><br>
> I want to write a bash script to launch several processes into background<br>
> without waiting for them to exit, and return a list of their PIDs.<br>
><br>
> Must be simple but I keep stumbling on this.<br>
><br>
> Actually PERL would be OK, too.<br>
><br>
> TIA.<br>
><br>
> - Mills<br>
<br>
<br>
<br>
--<br>
James Sumners<br>
<a href="http://james.roomfullofmirrors.com/" target="_blank">http://james.roomfullofmirrors.com/</a><br>
<br>
"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."<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>