Re: background execution
- From: apogeusistemas@xxxxxxxxx
- Date: Tue, 12 Feb 2008 09:16:24 -0800 (PST)
On 12 fev, 13:51, Ed Morton <mor...@xxxxxxxxxxxxxx> wrote:
On 2/12/2008 9:18 AM, apogeusiste...@xxxxxxxxx wrote:
Hi:
Can you tell me why this script doesn´t go back
to the prompt immediatly ?
cat ip_address | while read a b
do
/usr/sanford/ping3 $a $b >> x.lis &
done
Perhaps /usr/sanford/ping3 is waiting for input.
I don't mean to be rude, but you've been posting to this NG for a very long time
now - it's hard to believe you haven't at the very LEAST learned not to use cat
unnecessarily and to quote your variables:
while read a b
do
/usr/sanford/ping3 "$a" "$b" >> x.lis &
done < ip_address
Ed.
script works, but
What I need is put this command:
/usr/sanford/ping3 "$a" "$b" >> x.lis &
in backgroun and go to the next command:
/usr/sanford/ping3 "$a" "$b" >> x.lis &
but I need wait one command execute to the script issue the another.
.
- Follow-Ups:
- Re: background execution
- From: apogeusistemas
- Re: background execution
- References:
- background execution
- From: apogeusistemas
- Re: background execution
- From: Ed Morton
- background execution
- Prev by Date: Re: "ls" can't display octal permissions ?!?!
- Next by Date: Re: background execution
- Previous by thread: Re: background execution
- Next by thread: Re: background execution
- Index(es):
Relevant Pages
|