[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

fork within a shell script



Hi!

I'm wondering how I can fork within a shell script, or bettr let's say how
to parallel launch programs in a script instead of the sequential way.

I tried to use the & character like this:

for INDEX in ${ALIST[*]};
	do commandbla &;
done

But that always results in an 'unexpected token' error.

Thanks,
Christian



Reply to: